How to use class within another class?
Hi,
I have written a couple of beans, and I have classified them all as part of a "beans" package. All class files are in the same folder. One of the beans in called "ProcessTextBean.class" and it contians a method "validate_email" which validates a supplied email address, I want to call that method from another bean. I think the following line should work but compiler returns an error (Cannot resolve symbol with an arrow underneath "ProcessTextBean"):
boolean result = beans.ProcessTextBean.validate_email("[email protected]");
Any ideas what I'm doing wrong? Thanks.
Junaid.
beans.ProcessTextBean
Hihi..
is you validate_email a static method ?
if not i dun think you can do it.
you can try the followingf:
ProcessTextBean ptb = new ProcessTextBean();
............. = ptb.validate_email(emailAdd);
or
.................... = new ProcessTextBean().validate_email(emailAdd)
sorry...i may be wrong.
its a long time since i touch such a wonderful language such as Java..
now my org using VBA..:(
Similar Messages
-
Need samples how to use classes in WebDynpro
Hi,
I Need To simple Samples how to use classes in WebDynpro.
RegardsContinued....
and in the model
right click->create model
select the radio button import java bean .
next ADD jars option will be seen
Browse the jar on the dekstop.
now add this model to the used models by right clicking on it.
Now if you go to Data Modeler.
You will find the used model.
From there map to the component controller->view Controller.
And continue with ur coding.
Hope this helps you.
Thanks & Regards,
Lokesh. -
How to use bash within sqlplus?
How to use bash within sqlplus?
meaning I am doing something like this to look for files within a particular directory with some condition.
N=0
for i in $(find . -path \*/waiting/* -type f -not -name "SS*" -mmin +120 -print) ; do
testarray[$N]="$i"
echo "$i"
let "N= $N + 1"
done
Output from above script is as follows:
/d1/d2/d3/d4/waiting/abcd.txt
/d1/d2/d31/d42/waiting/pqrs.txt
/d1/d2/d32/d43/waiting/xyz.txt
And now I want to input this data into database with help of insert.
and here is the little pl/sql block to insert the data with looping thing.
sqlplus $CONNECT <<-EOF
DECLARE
Counter integer :=1;
BEGIN
WHILE Counter <= ${no_of_files} LOOP
INSERT INTO stuck_files(COL_DATE,SER_NAME,TYPE_FILE,FILENAME,FILE_STATUS) VALUES (sysdate,'pqrs','pqrs','pqrs','pqrs');
Counter := Counter + 1;
END LOOP;
END;
commit;
exit;
EOF
Mapping is as follows:
COL_DATE,SER_NAME,TYPE_FILE,FILEFILENAME,FILE_STATUS
sysdate,d3,d4,abcd.txt,waiting
sysdate,d31,d42,pqrs.txt,waiting
sysdate,d32,d3,xyz.txt,waiting
any idea how to do that?
Edited by: user9274197 on Apr 28, 2013 5:09 PMuser9274197 wrote:
How to use bash within sqlplus?
meaning I am doing something like this to look for files within a particular directory with some condition.
N=0
for i in $(find . -path \*/waiting/* -type f -not -name "SS*" -mmin +120 -print) ; do
testarray[$N]="$i"
echo "$i"
let "N= $N + 1"
done
Output from above script is as follows:
/d1/d2/d3/d4/waiting/abcd.txt
/d1/d2/d31/d42/waiting/pqrs.txt
/d1/d2/d32/d43/waiting/xyz.txt
And now I want to input this data into database with help of insert.
and here is the little pl/sql block to insert the data with looping thing.
sqlplus $CONNECT <<-EOF
DECLARE
Counter integer :=1;
BEGIN
WHILE Counter <= ${no_of_files} LOOP
INSERT INTO stuck_files(COL_DATE,SER_NAME,TYPE_FILE,FILENAME,FILE_STATUS) VALUES (sysdate,'pqrs','pqrs','pqrs','pqrs');
Counter := Counter + 1;
END LOOP;
END;
commit;
exit;
EOF
Mapping is as follows:
COL_DATE,SER_NAME,TYPE_FILE,FILEFILENAME,FILE_STATUS
sysdate,d3,d4,abcd.txt,waiting
sysdate,d31,d42,pqrs.txt,waiting
sysdate,d32,d3,xyz.txt,waiting
any idea how to do that?
Edited by: user9274197 on Apr 28, 2013 5:09 PMhttp://asktom.oracle.com/pls/asktom/f?p=100:11:::::P11_QUESTION_ID:439619916584
Cheers, -
How to use class.getResource() to create an ImageIcon
Hi,
I am well acquainted with creating and using ImageIcon icons using the ImageIcon constructor
and putting the image file in a folder called Images which is at the same level as the
bin and src folders.
I discovered a demo program, LayeredPaneDemo, that uses class.getResource() to create
an icon and found that in my eclipse version, the icon's image file was not found when
I used the original getResource() call but the icon was created when I used the ImageIcon
constructor.
I posted on JavaRanch and eventually realized that the image file needed to be with the
.class files, so I moved the Images folder under bin and getResource() works fine and I'm
happy.
However, I have three questions for you.
One poster on JavaRanch told me that it's better to use getResource() rather than the
ImageIcon constructor for distributing an app (I'm not distributing anything but want
to do it all correctly).
Do you agree with that or can I safe keep using the ImageIcon constructor?
Another poster told me he doesn't think it's safe to leave the image file in bin because
it might be lost during the build in eclipse and that there is a way to have eclipse copy
the files to bin during the build which should mean that I can leave the images folder at
the level of bin and src.
Do you agree with that?
If yes, how do I get eclipse to copy the file during the build?
P.S.
Before I posted on JavaRanch, I put the Images folder at every level of the project's
directory as shown in eclipse (which is why I missed the bin folder until JavaRanch
whacked me upside the head) and getResource() still didn't work.The contents of the Java Source folder are compiled if they're source files, copied otherwise (assuming no filter's been put in place to prevent copying), so your images belong under a source folder.
-
How to use classes CL_DOCX_*
We have a need to use word 2007 OOXML classes all of which start with CL_DOCX*.
Basically what we are trying to do is take a DOCX files (File 1 & File 2) saved by MS WORD 2007 application and replace the header of File 1 with the header from File 2.
The basic functionality described above is working fine. However the same is not working when the header from File 2 has an IMAGE embedded in it.
We found several word 2007 OOXML classes in the system (all of which start with CL_DOCX*), but couldn't find usage for these classes anywhere in the system or SDN or OSS Notes etc.,
Just wondering whether anyone used these classes in their development environment and whether they can share this information here?
Any help in this regard is highly appreciated.
thanks,
-SreenathWhich NetWeaver release are you using? The whole OOXML seems to be evolving within EhPs.
You'll find examples how to use the framework in the Unit Tests of class CL_DOCX_FORM - so have a look at those classes. For me those test code runs fine.
Best Regards,
Tobias -
How to use Class "CL_GUI_CHART_ENGINE" in a abap program ?
Hi Guys,
I want to display data in my internal table in the form of a Graph using class "cl_gui_chart_engine".
I had a look at sample program given by SAP - GRAPHICS_GUI_CE_DEMO but need some help to understand how can we use our own data to be displayed in the graph ? Basically what I am looking for is that where we need to do the changes in creation of XML file so that we can pass our own data ?
( perform create_data_demo using l_ixml_data_doc)
Could you please help me with some sample code or pseudocode ?
Thanks
AshwaThanks Kai,
I had already done the same thing and got the required output.
Populate X-Axis ( Categories )
LOOP AT ITAB.
Populate Categories
l_element = p_ixml_doc->create_simple_element(
name = 'C' parent = l_categories ).
l_element->if_ixml_node~set_value( itab-value).
ENDLOOP.
Populate Y-Axis ( Values )
LOOP AT VALUE_TAB.
l_element = p_ixml_doc->create_simple_element(
name = 'S' parent = l_series ).
l_element->if_ixml_node~set_value( value_tab-value).
ENDLOOP.
I am now trying to find the ways to change the default layout of the graph. I guess it should be done in "perform create_custom_demo using l_ixml_custom_doc." . I want that my graph should be displayed as lines instead of bar's.
Once I achieve this I will share my findings along with sample code with the community.
I wish I could get some documentation on class "cl_gui_chart_engine" and interfaces like "if_ixml_document".
Thanks
Ashwani -
How to use classes of packages in flex mx:Script/ or mxml/
Hi.I am just learning Flex using Flex Builder 3 facing one problem,
Suppose I declare one package with name alert.as
package
import mx.controls.Alert;
public class alert
public function alertBtn()
Alert("Hello btn 1");
Now in want to use the function in mxml that I declared in a package.
<mx:Button label="btn1" click="alertBtn();" />
I have few questions
1)How to Import the class alert.as in <mx:Script> and where should i store the file alert.as in the directory folder of flex?
2)How to call the function alertBtn() when btn1 is clicked.
Thanks so much!
Regards
AnkurHi Greg.I think I was not able to clear my problem properly.Let me try this time again.
What I wanted to do was that in the below written code I have the full access of the id=panel1 in the script tag .This works properly.
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script><![CDATA[
import flash.display.Sprite;
import mx.core.UIComponent;
private function addChildToPanel():void {
var circle:Sprite = new Sprite();
circle.graphics.beginFill(0xFFCC00);
circle.graphics.drawCircle(0, 0, 20);
var c:UIComponent = new UIComponent();
c.addChild(circle);
panel1.addChild(c);
]]></mx:Script>
<mx:Panel id="panel1" height="100" width="100"/>
<mx:Button id="myButton" label="Click Me" click="addChildToPanel();"/>
</mx:Application>
This above functionality when I tried to do using class Outside the code ,its not working !
Here is with the package:-
But suppose I make One package
package
import flash.display.Sprite;
import mx.core.UIComponent;
class getPanel extends Sprite
public function addChildToPanel():void {
var circle:Sprite = new Sprite();
circle.graphics.beginFill(0xFFCC00);
circle.graphics.drawCircle(0, 0, 20);
var c:UIComponent = new UIComponent();
c.addChild(circle);
panel1.addChild(c);
}//class
}//package
Now in MXML
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script><![CDATA[
import getPanel;
]]></mx:Script>
<mx:Panel id="panel1" height="100" width="100"/>
<mx:Button id="myButton" label="Click Me" click="getPanel.addChildToPanel();"/>
</mx:Application>
So My problem is that this code doesnt do anything.
Neither the addChild function is working in it ,Nor the Panel1 is accessible here.
Can u pls help me here.
Thanks
Ankur -
How to use classes in Actions tab
Hello guys!
I'm just a beginner so i'm sorry for my stupid question.I'm developing a game in which movie clips in our case people have their own schedule.I have multiple screens and so i want to be able to set their locations and make them invisible on other screens(rooms)they're not currently at.The trouble is i can't use variables from Actions in my class,neither can i use classes in my Actions.Can anyone tell me how to export classes into Actions code?
Here is my code:
var currentlocation;
var currentscreen;
if (person.currentlocation!==currentscreen){
person.visible=false;
btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler);
function fl_MouseClickHandler(event:MouseEvent):void
currentscreen = "classroom";
classroom.visible = true;
playroom.visible = false;
btn_2.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_2);
function fl_MouseClickHandler_2(event:MouseEvent):void
currentroom = "playroom";
classroom.visible = false;
playroom.visible = true;Your problem/question is not clear to me. If you are getting errors you should include the error messages in your posting.
Could the problem arise from using a variable that is not defined?
currentroom = "playroom";
I do not see currentroom defined as a variable anywhere. There is a currentscene variable though. -
How to use class in JSP file?
Hello All,
I am new to Jsp.
In Jsp file,I used class of myself.
Why,the Constractor seems not working?
Thanks in advance.Hi,
You can import the class in a jsp file.
Use <% page import = "">
and call that class.
If u want to import a funtion in your class, then u can insert that into scriplets like <%! ..%>
Hope u got that!
Artz -
How to use class.forName
I am trying to use Class.forName() from a string which is passed to me as argument.
Class batchClass = Class.forName(args[1]);
A jar file contains the class file for the string received above and I have this jar file in the manifest of my executable jar.
I get a class not found exception when I run my executable jar
Can some body give pointers..what could possibly be the issue.
The jar file is in my classpath
run script
#!/bin/csh
java -jar -DDBPROVIDER=NO -DDBUS_ROOT=$DBUS_ROOT -DVTNAME=$VTNAME ./jar/IntraDayDepotPositionBatch.jar MagellanStart IntraDayDepotPositionBatch INPUTFILE LOGFILE
Exception
Magellan program starting - program class IntraDayDepotPositionBatch
Cannot find program class - IntraDayDepotPositionBatch
IntraDayDepotPositionBatch
java.lang.ClassNotFoundException: IntraDayDepotPositionBatch
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at com.db.mmrepo.app.IntraDayDepotPositionBatch.MagellanStart.main(Unknown Source)
Thanks for your time and feedback on thisactually i tried both...with package name and without package name..
nothing worked...
my manifest file also contains the path to the package..so does the classpath -
How to use classes from an existing outside library ?
Dear People,
I added a library to use classes already built.
In JBuilder7 I went to Tools | ConfigureLibraries
and added the objectdraw library. At the left when I look in the
directory structure under User Home is "objectdraw" so I did
add the library correctly but when I put in the coding a try
to run it, the error messages say:
"MakeBox.java": Error #: 200 : <identifier> expected at line 8,
which is the line : public void MakeBox()
The entire code is :
package stan_e_makebox;
import objectdraw.*;
import java.awt.*;
public class MakeBox extends WindowController
void public MakeBox()
public void onMousePress(Location point)
new FilledRect(40,80,30,20,canvas);
public static void main(String[] args)
new MakeBox();
Thank you in advance
Stanoo sorry,
this is the constructor i assume, so should be
public MakeBox() -
How to use class for Translate..codepage/numer format
In the Unicode context, TRANSLATE... CODEPAGE/NUMBER FORMAT is not allowed.
this is the class to be used for Translate Codepage/number format.statement
Unicode Error : In the Unicode context, TRANSLATE... CODEPAGE/NUMBER FORMAT is not allowed.
Before Unicode
TRANSLATE T143T-TBTXT FROM CODE PAGE '1100' TO CODE PAGE '1105'.
After Unicode
Use class for Translate codepage to codepage.
Data : g_codepage LIKE tcp0c-charco VALUE '1100'.
CONSTANTS: c_unicodecp(4) VALUE '1105'.
PERFORM translate_codepage USING g_codepage
c_unicodecp
CHANGING T143T.
FORM translate_codepage USING P_G_CODEPAGE
P_C_UNICODECP
CHANGING P_T143T.
DATA: converter TYPE REF TO cl_abap_conv_obj.
DATA: l_out TYPE string.
DATA: l_fromcode TYPE cpcodepage.
DATA: l_tocode TYPE cpcodepage.
l_fromcode = P_G_CODEPAGE.
l_tocode = P_C_UNICODECP.
CREATE OBJECT converter
EXPORTING
incode = l_fromcode
miss = '.'
broken = '.'
use_f1 = 'X'
outcode = l_tocode
EXCEPTIONS
invalid_codepage = 1
internal_error = 2.
IF sy-subrc <> 0.
CASE sy-subrc.
WHEN 1.
MESSAGE ID 'FES' TYPE 'E' NUMBER '024' RAISING unknown_error.
WHEN 2.
MESSAGE ID 'FES' TYPE 'E' NUMBER '024' RAISING unknown_error.
ENDCASE.
ENDIF.
CALL METHOD converter->convert
EXPORTING
inbuff = P_T143T
inbufflg = 0
outbufflg = 0
IMPORTING
outbuff = l_out
EXCEPTIONS
internal_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
CASE sy-subrc.
WHEN 1.
MESSAGE ID 'FES' TYPE 'E' NUMBER '024' RAISING unknown_error.
WHEN 2.
MESSAGE ID 'FES' TYPE 'E' NUMBER '024' RAISING unknown_error.
ENDCASE.
ENDIF.
P_T143T = l_out.
ENDFORM. " translate_codepage -
How to use .class files from jsp
hi i want to use .class files in my jsp program can any one help me
so if you are using pacakges here is normal example...
say you .java code is something like...
package com.util;
public Class BeanUtility{
}place the .class file at WEB-INF/classes/com/util folder if those folders are missing create it and place the .class file there. or pacakage it as a jar file & put it into WEB-INF/lib folder
Now in jsp you can either use jsp:Usebean tag or use normal scriplets to create an instance of the nessary class...
here is an example for you
<%@ page language="java" import="com.util.BeanUtility" %>
<%
BeanUtility bn = new BeanUtility();
%>however,i'd suggest you to make use of JSTL / Inbuilt tag libraries /MVC 2.0 approach for better maintainance & readablity.
Hope this might help
REGARDS,
RaHuL -
How to use List within javaFX(*.fx) script?
How to use java.util.List within javaFX(*.fx) script?
The following is my code in Java
PDBFileReader pdbreader = new PDBFileReader();
pdbreader.setPath("/Path/To/PDBFiles/");
pdbreader.setParseSecStruc(true);// parse the secondary structure information from PDB file
pdbreader.setAlignSeqRes(true); // align SEQRES and ATOM records
pdbreader.setAutoFetch(true); // fetch PDB files from web if they can't be found locally
try{
Structure struc = pdbreader.getStructureById(code);
System.out.println("The SEQRES and ATOM information is available via the chains:");
int modelnr = 0 ; // also is 0 if structure is an XRAY structure.
List<Chain> chains = struc.getChains(modelnr);
for (Chain cha:chains){
List<Group> agr = cha.getAtomGroups("amino");
List<Group> hgr = cha.getAtomGroups("hetatm");
List<Group> ngr = cha.getAtomGroups("nucleotide");
System.out.print("chain: >"+cha.getName()+"<");
System.out.print(" length SEQRES: " +cha.getLengthSeqRes());
System.out.print(" length ATOM: " +cha.getAtomLength());
System.out.print(" aminos: " +agr.size());
System.out.print(" hetatms: "+hgr.size());
System.out.println(" nucleotides: "+ngr.size());
} catch (Exception e) {
e.printStackTrace();
}The following is my code in JavaFX(getting errors)
var loadbtn:SwingButton = SwingButton{
text:"Load"
action: function():Void{
var pdbreader = new PDBFileReader();
var structure = null;
try{
structure = pdbreader.getStructure(filepath.text);
List<Chain> chains = structure.getChains(0);
foreach (Chain cha in chains){
List < Group > agr = cha.getAtomGroups("amino");
List < Group > hgr = cha.getAtomGroups("hetatm");
List < Group > ngr = cha.getAtomGroups("nucleotide");
} catch (e:IOException) {
e.printStackTrace();
};I'm using Netbeans 6.5 with JavaFX
(PDBFileReader, Chain, Structure etc are classes from my own package, already added to the library folder under the project directory)
Simply put, How to use List and Foreach in JavaFX?We can not use Java Generics syntax in JavaFX. But we can use Java Collection classes using the keyword 'as' for type-casting.
e.g.
import java.util.LinkedList;
import java.util.List;
import javafx.scene.shape.Rectangle;
var outerlist : List = new LinkedList();
var innerlist : List = new LinkedList();
innerlist.add(Rectangle{
width: 10 height:10});
innerlist.add(Rectangle{
width: 20 height:20});
outerlist.add(innerlist);
for (inner in outerlist) {
var list : List = inner as List;
for (element in list) {
var rect : Rectangle = element as Rectangle;
println("(width, height)=({rect.width}, {rect.height})");
} -
How to use SelectOneRadio within a DataTable
Hi,
I have a requirement to have a radio button for each row in the datatable. It is to enable selecting one row(only one row) from the table and proceed to the next page. The table should look like
o Name1 address1 city1 state1
o Name2 address2 city2 state2
o Name3 address3 city3 state3
o Name4 address4 city4 state4
Next>>
The data structure I have is a collection on objects of type person.
Class person
String id;
String name;
String address;
String city;
String state;
getters and setters
I tried to use SelectOneRadio within a Column, but that didnt help. As obvious it treats each rows radio button as a seperate radio group.
<h:datatable var="person" value="#{personList}>
<h:column>
<h:selectOneRadio>
<f:selectItem itemValue="#{person.id}"/>
</h:selectOneRadio>
</h:column>
<h:column>
<h:outputText value="#{person.name}"\>
</h:column>
</h:datatable>
I am new to JSF. I searched thru some JSF websites and book, but couldnt find a solution. Can someone help me solve this.
Thanks in advance
RaniHi,
after some time probing into this issue I think none of the many proposed sollutions really solves the underlying problem: Working around the issue becomes much to complicated for JSFs stated design goal of easing development. Certainly for such a common case scenario no workaround should be neccessary, especially given the fact that JSTL is easily able to model this without the need for workarounds!
In my opinion JSF TagLib implementations should attempt to solve this in a coming version.
One part of the sollution might be to make <f:selectItem> search it's parent element recursively, i.e. allow the expected container element to be the nearest direct or indirect parent that's suitable. This would allow developers to envelope a <h:dataTable> tag with a <h:selectOneRadio> element. Any <f:selectItem> element inside would therefore be part of a single choice radio button selection, regardless of them being distributed over multiple rows or columns.
Another part of the sollution might be to allow <h:selectOneRadio> and similar tags to be substitutes for <h:column> tags inside tables. This way a complete column of radio buttons could be used to chose a single value, thereby allowing multiple columns of radio buttons to choose multiple values within the same table.
Please forward this suggestion for enhancement in kind to the expert group working on the further development of the JSF taglibs. I guess many people besides me already use it as a classical example of complications using JSF during lectures about the tomic, and at least in this case the problem seems completely solvable.
Kind regards,
Sascha Baumeister
software architect, university lecturer and former JCP spec lead JSR086 -
How to use XML on another server?
I need help figuring out how to consume XML from another
domain. It's a domain that is providing search functionality for a
website. The domain indexes my site, and I can "post" searches to
an URL with my search terms URL-escaped. It returns an XML
document. I want to use Spry to consume that XML.
I'm pretty experienced consuming XML and using it in Spry
pages, but to date have not done anything that crosses domains. I
will have access to Perl on the production box that hosts my site,
with a remote chance that I could get PHP enabled. This is a public
web server for a very very large financial company, so my choices
of what can go on a production server outside our firewall are
limited by corporate policy.
What are the basic steps that need to happen? Can someone
bullet-point how this might work from one end to the other? I have
the basic theory down of what needs to happen, but not much else at
this point.
Here is what I understand:
1 - user fills in search form and hits enter
2 - form posts to a Perl script on my box
3 - Perl takes the form variables and appends them to a URL
request to the 3rd party search domain
4 - 3rd party search company returns an xml file
5 - not sure what Perl needs to do here with the xml so that
my HTML page with Spry can read it....it does something, let's just
say
6 - Perl writes out a page, based on a template in my site
that then consumes the XML that is somehow available on my domain
now...
This raises so many questions...like if I save the results
XML on my server, how do I get rid of them after they are consumed
and also how do I prevent other sessions from accessing that "saved
copy" of XML...I know I'm thinking wrong here. That can't be how
it's done...Hence...my question about all this.
Where do I start?
Thanks,
Douguser12004297 wrote:
thank you so much - however on the source database I dropped tables and users- then I did an "alter system switch logfile;" - copied the archivelogs to the / test DRP and loaded the archivelogs and the users and tables were not dropped like i did in source
RMAN> tartup mount
Oracle instance started
database mounted
Total System Global Area 1119043584 bytes
Fixed Size 2227624 bytes
Variable Size 620757592 bytes
Database Buffers 469762048 bytes
Redo Buffers 26296320 bytes
RMAN> CATALOG START WITH '/oradb1/backup';
using target database control file instead of recovery catalog
searching for all files that match the pattern /oradb1/backup
List of Files Unknown to the Database
=====================================
File Name: /oradb1/backup/1_345_819727387.dbf
Do you really want to catalog the above files (enter YES or NO)? YES
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: /oradb1/backup/1_345_819727387.dbf
RMAN> recover database;
Starting recover at 20-NOV-13
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=249 device type=DISK
starting media recovery
media recovery complete, elapsed time: 00:00:02
Finished recover at 20-NOV-13
RMAN> alter database open;
database opened
RMAN
Simply making the database aware of the archivlogs does NOT mean rman will determine they need to be used for a specific recovery operation. What all had you done to/with this database prior to this? Keep firmly in mind the effect of any OPEN RESETLOGS.
Maybe you are looking for
-
How come my imsg is not syncing properly between iPod touch and Macbook pro?
My imsgs are recieved on my macbook and they used to be simultaneously sent to my ipod too. But now they don't show up as imsg notifications on my ipod, only macbook. When I click in the conversation on my ipod I see the new messages, but I only get
-
Why does my audio keep buffering
I am trying to listen to iheart radio and also I am streaming audio from the internet and it keeps stopping and buffering every minute or less. There is no Wi Fi in the building I work in, could that be the issue? Its extrememly irritating. Thanks!
-
PR release strategy reset after change in quantity/inclusion of line item
If a user adds a line item or increases the quantity of an existing line item to a fully released purcahse requisition, then the system does not render the PR for reapproval. Is there any way to configure SAP such that the release strategy resets if
-
HOW TO INSTALL GCC 3.4.6 IN A SOLARIS10 SERVER
I am trying to install gcc-3.4.6 into a Solaris 10 Server, I always get a problem : after doing: mkdir objdir cd objdir ../configure with-as=/usr/ccs/bin/as with-ld=/usr/ccs/bin/ld *** The command 'cc -o conftest -g conftest.c' failed. *** You must s
-
I have built a web application on jdeveloper 11.1.2. One of the pages has a pop up with a goButton on it. The destination property points to a servlet along with parameters : eg: filedownloadmanager?#{viewScope.DocsForPepBean.constantDocumentKeyUrlPa