Populate a database from a pdf
Hi,
I'm trying to extract data from a pdf file. The pdf is actually release notes from another project.
Another thing bugging me is that while the layout stays the same, the length of the text varies from one file to the other (it may event take more than one page for an element). The information I need to access is stored inside a table.
I want to know if it is possible to parse a pdf, like someone would do to parse an xml file, to achieve my goal. I've looked if it was easier to convert the file into another format (xml, html, text, and even into a mars file), but it really doesn't seem to facilitate my task.
Thanks in advance
Hmm..Why don't you employ an API which can parse PDF data for.
All you ought is to write out your resolving code according to your specs and update the bounded entities(Object) after the process of parsing and binding of stated PDF documents.
the below links might help you in findout few commertial & open source Java APIs which can help you in parsing and rest of binding logic would be according to your specs.
http://schmidt.devlib.org/java/libraries-pdf.html
http://www.icesoft.com/developer_guides/icepdf/htmlguide/ICEpdfTOC.html
Hope that might help :)
REGARDS,
RaHuL
Similar Messages
-
Populate the database from a file
Hi guys,
I have to populate an Oracle database using a java standalone application. The application gets the data from a file and copies them into the database. I don't know how to structure the entire thing and in which layer (view or model) i have to implement this functionality.
thank's a lot,
christianeither you configure FOP to use a SAX Parser that supports Cp1251 or you encode your XML data to UTF-8.
we flawlessly generate Greek PDF documents out of data selected from Oracle 8.1 by using UTF-8. -
How To Insert Data into a Access Database from a PDF File
Hi All,
Could anyone help me to insert PDF form data to an MS Access database.I am new to this and I would appreciate if anyone can help me at the earliest.
Thanks,
DeeptiYou can submit your PDF to a server-side script (ASP/PHP), and store the new record in a MS Access database.
For more information on how to store your PDF submission in a database, please visit:
http://www.fdftoolkit.net -
I am trying to create PDF forms that will be filled out by multiple members of an organization. I would like them to be submitted electronically and then populate a database so that the data does not need to be reentered into a database.
I generally use Microsoft access but certainly know how to use comma separated values (CSV) or Microsoft Excel.
I currently utilize Acrobat Pro X.Thanks for the info obviously I will need to watch the videos/tutorials on distributing and tracking documents.
John W. Hellstein D.D.S., M.S.
University of Iowa, Oral Pathology
356 DSB South
Iowa City, IA 52246
Ph 319-335-9656
Description: QR_Droid_73041 3 -
Need to pre-populate and Extract data from static PDF form
Hi Jasmin or Jayan or anyone else that can answer.
I have a requirement to use Digital Signatures. Because of that, the forms must be static PDFs and the form variables will be “document form”. I want to pre-populate the form via an SQL query and custom render process and render it as PDF so that the submitter can apply a digital signature when he/she is done and ready to submit for approvalSubsequent approvers will also digitally sign the form. I know that I will specify the custom render to render only once and thereby preserve the signature(s) on the form. I do, however, need to extract data from the form to control the business process. I cannot access the data in the form the same way I do with an xdp and I also cannot pre-populate the same way I do with an xdp.
Any suggestions on how to attack this?Parth, one problem with your approach is he will submit PDF and therefore you won't be able to put the PDF in a variable that's suppose to contain just xml.
The prepopulation should be the same. If you start off with an xdp, then you will call a render service that merges data with your xdp to create a PDF.
Now when you submit, you will submit the entire PDF back in the Document Form variable. In Workbench, you can use the FormDataIntegration service to extract data from that PDF that's being stored under Document Form var/object/document and put it in an xml variable. Then you can just use xPath to do your condition.
I'm assuming you'll just pass that same Document Form variable to the next step, because if you do any change to the PDF it'll brake the signature.
Let me know if I missed anything.
Jasmin -
Duplicating form fields from one PDF document to another
Hi,
Does anyone know of a way to select and duplicate all acrobat form fields from one PDF document into a new PDF document. I know I can do so one field at a time but would like to know if there is a way to do so in a wholesale fashion.
Our PDF documents are created in-house each year and are nearly the same as the previous year's document containing 99% of the same form fields in the same locations. These forms contain a lot of form fields, anywhere from 50 to 100 fields.
Rather than start from scratch each year defining the same fields that were present in the previous year's document, I am looking for a way to copy the form fields from an existing PDF document (last year's PDF in our case) and copy the form fields into a new PDF document (that does not yet have any form fields defined) and hopefully maintain all the field attributes and positions from the previous years document.
Thanks for any suggestions,
SteveThe PDF template we need to copy the form fields "to" doesn't start out having any form fields. It is the fields that we need copied from a previous year's PDF template.
Here's an except from my original post: "I am looking for a way to copy the form fields from an existing PDF document (last year's PDF in our case) and copy the form fields into a new PDF document (that does not yet have any form fields defined)"
The "new" PDF template is a complete "paper" form with updated legal text and calendar year referrences but NO form fields. In our IS group, we then take these forms, add form fields to them and are then able to populate them with database-resident user data. We serve them up to the user in their browser pre-populated with their application data.
So again, our need is to find a way to copy form fields from "last year's" PDF template and copy just the form fields to an fresh "new year's" PDF template that contains no form fields to begin with. What we begin with is just a PDF representation of a paper student loan application.
Thanks for the suggestion! -
Populate collection type from XMLType
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
PL/SQL Release 11.1.0.7.0 - Production
CORE 11.1.0.7.0 Production
TNS for Linux: Version 11.1.0.7.0 - Production
NLSRTL Version 11.1.0.7.0 - Production
Please bear with me as I'm new to this XML DB thing and also this is my first post.
I'm trying to populate collection type from XMLType. I was able to populate a table from XMLType but
couldn't figure out a way to populate the collection type. Here is the description of my problem:
Object Type:
CREATE OR REPLACE TYPE DOC_ROWTYPE AS OBJECT
REFERENCENUMBER VARCHAR2(255),
REQID NUMBER(12),
REQDETID NUMBER(12),
FROMAMOUNT VARCHAR2(31),
TOAMOUNT VARCHAR2(31),
TOACCOUNTID NUMBER(12),
TOACCOUNTNUMBER VARCHAR2(35),
FROMACCOUNTID NUMBER(12),
FROMACCOUNTNUMBER VARCHAR2(35),
Collection Type:
CREATE OR REPLACE TYPE DOC_TABLETYPE IS TABLE OF DOC_ROWTYPE;
I have a physical table which is created when I registered a schema.
A table (Temp_Result) got created with column SYS_NC_ROWINFO$ which is of XMLType.
As you can see this is only a temporary table which will store the response XML which I want to finally get it to collection type.
XML to parse:
<code>
<TFSResponse>
<TFS>
<refNumber>12345</refNumber>
<reqId>123</reqId>
<reqDetId>111</reqDetId>
<fromAmount>20</fromAmount>
<toAmount>20</toAmount>
<fromAccount>
<accountId>22222</id>
<accountNumber>12345678</number>
</fromAccount>
<toAccount>
<accountId>33333</id>
<accountNumber>123456789</number>
</toAccount>
</TFS>
.... many TFS Tags
</TFSResponse>
</code>
So each object in the collection is one TFS tag.
Any advice on how to implement this?Does this help
SQL> CREATE OR REPLACE TYPE ACCOUNT_T as OBJECT (
2 "accountId" NUMBER(12),
3 "accountNumber" VARCHAR2(35)
4 )
5 /
Type created.
SQL> show errors
No errors.
SQL> --
SQL> CREATE OR REPLACE TYPE TFS AS OBJECT(
2 "refNumber" VARCHAR2(255),
3 "reqId" NUMBER(12),
4 "reqDetId" NUMBER(12),
5 "fromAmount" VARCHAR2(31),
6 "toAmount" VARCHAR2(31),
7 "fromAccount" ACCOUNT_T,
8 "toAccount" ACCOUNT_T
9 );
10 /
Type created.
SQL> show errors
No errors.
SQL> --
SQL> CREATE OR REPLACE TYPE TFS_C
2 as TABLE of TFS
3 /
Type created.
SQL> show errors
No errors.
SQL> --
SQL> CREATE OR REPLACE Type TFS_RESPONSE_T as OBJECT(
2 "TFSResponse" TFS_C
3 );
4 /
Type created.
SQL> show errors
No errors.
SQL> /
Type created.
SQL> CREATE OR REPLACE type CODE_T as OBJECT(
2 "code" TFS_RESPONSE_T
3 );
4 /
Type created.
SQL> show errors
No errors.
SQL> --
SQL>
SQL> with "MY_XML" as
2 (
3 select XMLTYPE(
4 '<code>
5 <TFSResponse>
6 <TFS>
7 <refNumber>12345</refNumber>
8 <reqId>123</reqId>
9 <reqDetId>111</reqDetId>
10 <fromAmount>20</fromAmount>
11 <toAmount>20</toAmount>
12 <fromAccount>
13 <accountId>22222</accountId>
14 <accountNumber>12345678</accountNumber>
15 </fromAccount>
16 <toAccount>
17 <accountId>33333</accountId>
18 <accountNumber>123456789</accountNumber>
19 </toAccount>
20 </TFS>
21 <TFS>
22 <refNumber>12346</refNumber>
23 <reqId>123</reqId>
24 <reqDetId>111</reqDetId>
25 <fromAmount>20</fromAmount>
26 <toAmount>20</toAmount>
27 <fromAccount>
28 <accountId>22222</accountId>
29 <accountNumber>12345678</accountNumber>
30 </fromAccount>
31 <toAccount>
32 <accountId>33333</accountId>
33 <accountNumber>123456789</accountNumber>
34 </toAccount>
35 </TFS>
36 <TFS>
37 <refNumber>12347</refNumber>
38 <reqId>123</reqId>
39 <reqDetId>111</reqDetId>
40 <fromAmount>20</fromAmount>
41 <toAmount>20</toAmount>
42 <fromAccount>
43 <accountId>22222</accountId>
44 <accountNumber>12345678</accountNumber>
45 </fromAccount>
46 <toAccount>
47 <accountId>33333</accountId>
48 <accountNumber>123456789</accountNumber>
49 </toAccount>
50 </TFS>
51 </TFSResponse>
52 </code>') as "XML"
53 from DUAL
54 )
55 select
56 "TMOBILE"."CODE_T"(
57 "TMOBILE"."TFS_RESPONSE_T"(
58 CAST(
59 MULTISET(
60 select
61 "TMOBILE"."TFS"(
62 "refNumber_000002",
63 "reqId_000003",
64 "reqDetId_000004",
65 "fromAmount_000005",
66 "toAmount_000006",
67 "TMOBILE"."ACCOUNT_T"(
68 "accountId_000007",
69 "accountNumber_000008"
70 ),
71 "TMOBILE"."ACCOUNT_T"(
72 "accountId_000009",
73 "accountNumber_000010"
74 )
75 )
76 FROM
77 XMLTABLE(
78 '/TFS'
79 passing "TFSResponse_000001"
80 COLUMNS
81 "refNumber_000002" VARCHAR2(255) PATH 'refNumber',
82 "reqId_000003" NUMBER PATH 'reqId',
83 "reqDetId_000004" NUMBER PATH 'reqDetId',
84 "fromAmount_000005" VARCHAR2(31) PATH 'fromAmount',
85 "toAmount_000006" VARCHAR2(31) PATH 'toAmount',
86 "accountId_000007" NUMBER PATH 'fromAccount/accountId',
87 "accountNumber_000008" VARCHAR2(35) PATH 'fromAccount/accountNumber',
88 "accountId_000009" NUMBER PATH 'toAccount/accountId',
89 "accountNumber_000010" VARCHAR2(35) PATH 'toAccount/accountNumber'
90 )
91 ) as "TMOBILE"."TFS_C"
92 )
93 )
94 )
95 FROM MY_XML,
96 XMLTABLE(
97 '/'
98 passing "XML"
99 COLUMNS
100 "TFSResponse_000001" XMLTYPE PATH 'code/TFSResponse/TFS'
101 )
102
SQL> /
CODE_T(TFS_RESPONSE_T(TFS_C(TFS('12345', 123, 111, '20', '20', ACCOUNT_T(22222, '12345678'), ACCOUNT_T(33333, '123456789')), TFS('12346', 123, 111, '20', '20',
ACCOUNT_T(22222, '12345678'), ACCOUNT_T(33333, '123456789')), TFS('12347', 123, 111, '20', '20',
ACCOUNT_T(22222, '12345678'), ACCOUNT_T(33333, '123456789')))))
SQL> -
Delete a database from a server in Business Process Architect
Hi Friends,
Does anybody know how to delete a database from a server in Business Process Architect? I don't see any option to perform delete. I am using version 10.1.3.4.
Thanks
TridibThanks for reply
Actually i want to delete the jobs from the Url below
http://xyz:7778/reports/rwservlet/showjobs?server=testreport which gives all the jobs when u click on anyone job it open the pdf file which is stored in cache i want this job to be deleted including the file.
I think there is a target.xml file which show the job in IAS OEM for a report server if the report server is added in target.xml from oem we can delete the jobid and file.
where should i go to see the report server in oem?
Regards -
Upgrade DB2 database from 9.1 to 10.5
Dear All,
We are using Ecc6 with db2 database 9.1 now we want to upgrade database from 9.1 to 10.5. Is it possible to upgrade database & what are those steps are required for this operation. We are waiting your valuable support in this regards.
Regards
AbhijitHello,
Please check the guide https://websmp201.sap-ag.de/~sapdownload/011000358700000843422013E/DB6UpgrGuide10_5_upd.pdf
Database-Related Restrictions
If you are running DB2 for Linux, UNIX, and Windows Version 9.5 or lower, you first have to upgrade
the database to DB2 Version 9.7 or 10.1 as described in the relevant upgrade guide at:
http://service.sap.com/instguides Database Upgrades DB2 UDB
BR,
K. -
I have a CAN database in a .txt format. I used access and excel to map it to a .xml file. When I try to add it to the NI-XNET Database Editor in the Manage NI-XNET databases and add alias it give me the error: x BFF63081. How can I take a .txt file database and convert it to a NI-XNET database?
I think the common formats that XNET support are CANdb and FIBEX files (amongst others...e.g. for Flexray). I think FIBEX is the name. A CANdb file is essentially just a text file so maybe you can parse out the messages fairly easily that way. FIBEX files are the file format that LabVIEW creates when you edit/create an XNET database from their user interface.
If you don't want to use either of those formats, then you need to parse the text file in LabVIEW and use it to manually create the XNET signals/database. You can create a :memory: database, populate it with a cluster and then populate that with signals using data from your text file.
In the LabVIEW examples under Hardware Input and Output >> CAN >> NI-XNET >> Databases are some examples of manipulating an XNET database so that should point you in the right direction of which VIs you need to use.
Certified LabVIEW Architect, Certified TestStand Developer
NI Days (and A&DF): 2010, 2011, 2013, 2014
NI Week: 2012, 2014
Knowledgeable in all things Giant Tetris and WebSockets -
Push data from a PDF to a designer form
All:
I am using a 3rd party plugin to Adobe Reader and Acro Pro (the GeoPDF toolbar from TerraGo Technologies). The plugin, in conjunction with its own version of JavaScript allows me to retrieve a coordinate from the PDF document. I want to populate two fields (fieldx and fieldy) in my designer form with the data I pull off the original PDF.
I am hoping to do this with JavaScript and am looking for some guidance on where to find some reference material on doing this. I've reviewed the JavaScript API reference but didnt find anything particularly helpful. Thanks in advance for any assistance!
I am just a beginner in the JS world....
DaveIf using Acrobat XI you can actually go to Tools >click on Combine. and add those pages they would be attached internally to the PDF.
Only Acrobat is finally set up to combine files not PDF within a a PDF. This will make the PDF rather large depending upon the size of the other files. -
URGENT,FRM-41337: Cannot populat the list from record group
Hi all:
Can anyone help me in that problem?
I have a database item in the block as a list item with combo box style and I use this code in WHEN-NEW-RECORD-INSTANCE at the form module level to populate that combo box list:
DECLARE
group_id RECORDGROUP := FIND_GROUP('group');
list_id ITEM := FIND_ITEM('employees.job_id');
x number;
BEGIN
IF NOT ID_NULL (group_id) THEN
DELETE_GROUP (group_id);
END IF;
group_id := CREATE_GROUP_FROM_QUERY ('group','select name,TO_CHAR(id) job from cmn_jobs where job_type_id = 4720 ');
x := POPULATE_GROUP (group_id);
POPULATE_LIST (list_id, group_id);
EXCEPTION
WHEN NO_DATA_FOUND THEN
null;
END;
That code worked very well and without any problem, but when I change the list item from combo box style to poplist style then the forms give that error:
FRM-41337: Cannot populat the list from record group
And an additional null/blanke element appears in the poplist with original element that come from RECORDGROUP.
So can anyone help me to solve that problem please?First, how I can assign a default or initial value DYNAMICALLY to my poplist.Set the default-value to a parameter like :PARAMETER.MYPARAMETER then you can assign the desired default-value to the parameter.
second, if I have popliste say X for example depend on another poplist say Y ,so when I put the code to populate popliste X on WHEN-LIST-CHANGED on popliste Y and make query then the >forms return FRM-40301 Query caused no records to be retrieved ,but when I have a copy for that code in WHEN-LIST-CHANGED and put it in WHEN-NEW-FORM-INSTANCE at the form >module the form work and returns records, so is it any error or exception in what I did.Can't answer that, you should check :SYSTEM.LAST_QUERY to see why the query does not returnany records.
At the last, which better to put the code for popliste in PRE-FORM trigger at the form module or in WHEN-NEW-FORM-INSTANCE at the form module.I would use the PRE-FORM-trigger -
Remove watermark/image from existing PDF?
I need to be able to remove a watermark from existing PDFs we have stored in a database. This is a legitimate requirement (rather than trying to remove trial software watermarks) as we have > 10 million PDFs stored with a "copy" watermark that we now want to store without the watermark.
I want to write a service in .NET which can do this programmatically.
Is there any Adobe SDK to support this.? if YES..please help.!
Any samples appriciated..
satishThe first issue you will face is trying to determine HOW the watermark was
added. If it was done in a standard way by a well written tool, then it
will be easily to locate and remove. However, if not, you will have your
work cut out for you.
Either way, you will not be able to use .NET with the Acrobat SDK for this
type of low-level operation. -
Moving portal database from NT to HP-UX
I am moving an existing 9iAS portal database from NT to HP-UX. 9iAS was already installed on HP-UX and is being used for a forms server and reports server. Do I need to do anything else but simply create a new database and export from NT and import onto HP?
Hi,
You can make use of the Heterogeneous System copy tool available on SMP for this purpose. You will also find a pdf guide for the same.
Cheers!! -
Issue in configuring Standby Database from Active database in 11g by RMAN
POSTED THE SAME IN DATA GUARD CATEGORY UNABLE TO DELETE
Hi All,
I am facing issue in creating the standby database from Active database using RMAN and getting the below issue after i executed the duplicate command.
Version of Database:11g(11.2.0.1.0)
Operating System:Linux 5
Error:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 12/21/2012 17:26:52
RMAN-03015: error occurred in stored script Memory Script
RMAN-04006: error from auxiliary database: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Primary Database Entries:
Tnsentry:
SONYPRD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.131)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = sonyprd.localdomain)(UR=A)
SONYPRDSTBY =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.132)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = sonyprdstby)(UR=A)
Listner Entry:
SID_LIST_SONYPRD =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtproc)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = SONYPRD)
(GLOBAL_DBNAME = SONYPRD)
Auxiliary Details:
Tns Entry:
SONYPRD =
(DESCRIPTION =
# (ADDRESS = (PROTOCOL = TCP)(HOST = oracle11g.localdomain)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.131)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = sonyprd.localdomain)
SONYPRDSTBY =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.132)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = sonyprdstby)(UR=A)
Listener Entry in auxiliary:
SID_LIST_SONYPRDSTBY =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = SONYPRDSTBY)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME = SONYPRDSTBY)
TNSPING from Primary DB:
[oracle@oracle11g ~]$ tnsping sonyprdstby
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 17:39:28
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/u01/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.132)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = sonyprdstby)(UR=A)))
OK (0 msec)
TNSPING from Auxuliary server
[oracle@oracle11gstby ~]$ tnsping sonyprd
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 17:40:19
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.131)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = sonyprd.localdomain)))
OK (10 msec)
Script Used for duplicate:
run {
allocate channel prmy1 type disk;
allocate channel prmy2 type disk;
allocate channel prmy3 type disk;
allocate channel prmy4 type disk;
allocate auxiliary channel stby type disk;
duplicate target database for standby from active database
spfile
parameter_value_convert 'sonyprd','sonyprdstby'
set db_unique_name='sonyprdstby'
set db_file_name_convert='/sonyprd/','/sonyprdstby/'
set log_file_name_convert='/sonyprd/','/sonyprdstby/'
set control_files='/u01/app/oracle/oradata/control01.ctl'
set log_archive_max_processes='5'
set fal_client='sonyprdstby'
set fal_server='sonyprd'
set standby_file_management='AUTO'
set log_archive_config='dg_config=(sonyprd,sonyprdstby)'
set log_archive_dest_2='service=sonyprd ASYNC valid_for=(ONLINE_LOGFILE,PRIMARY_ROLE) db_unique_name=sonyprd'
Tried the script from both Primary and auxiliary but no luck
[oracle@oracle11gstby admin]$ rman target sys/welcome@sonyprd auxiliary sys/*****@sonyprdstby
Recovery Manager: Release 11.2.0.1.0 - Production on Fri Dec 21 17:26:24 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: SONYPRD (DBID=3131093559)
connected to auxiliary database: SONYPRD (not mounted)
Listener Status from primary:
[oracle@oracle11g ~]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 18:08:56
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 20-DEC-2012 17:42:17
Uptime 1 days 0 hr. 26 min. 41 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Services Summary...
Service "sonyprd.localdomain" has 1 instance(s).
Instance "sonyprd", status READY, has 1 handler(s) for this service...
Service "sonyprdXDB.localdomain" has 1 instance(s).
Instance "sonyprd", status READY, has 1 handler(s) for this service...
The command completed successfully
Listener Status from Standby when database bring to Nomount state:
[oracle@oracle11gstby admin]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 18:11:54
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 21-DEC-2012 16:13:47
Uptime 0 days 1 hr. 58 min. 6 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/oracle11gstby/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle11gstby)(PORT=1521)))
Services Summary...
Service "sonyprdstby" has 1 instance(s).
Instance "sonyprdstby", status BLOCKED, has 1 handler(s) for this service...
The command completed successfully
Please provide any work arounds to proceed further in creating the standby database.
Thanks,
Ram.
Edited by: 895188 on Dec 21, 2012 5:50 PM
Edited by: 895188 on Dec 21, 2012 6:09 PM
Edited by: 895188 on Dec 21, 2012 6:22 PMHello;
Script has to be run from auxiliary.
Great details, but what I don't see is how you connect in RMAN.
Example
Start RMAN
$ORACLE_HOME/bin/rman target=sys/@recover2 auxiliary=sys/@reclone
Recovery Manager: Release 11.2.0.2.0 - Production on Wed Feb 22 14:50:31 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: RECOVER2 (DBID=3806912436)
connected to auxiliary database: RECLONE (not mounted)Nothing in your tnsnames or listener jumps out as wrong. I copied them into my text editor and compared against my working ones.
Generally for active duplication I start the future standby on a pfile NOMOUNT.
Auxiliary Instance Initialization Parameters Needed :
DB_NAME
CONTROL_FILES
DB_BLOCK_SIZE
( add extra parameters like DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT instead of using the SET command - clean up standby spfile right after duplication )
Then start RMAN and finally run a single line duplication command.
$ORACLE_HOME/bin/rman target=sys/@primary auxiliary=sys/@standby
RMAN>duplicate target database for standby from active database NOFILENAMECHECK;Best Regards
mseberg
Maybe you are looking for
-
Hi I want to buy an iPhone 4S in México but i figure out that Siri only function in english french and German my question is if I buy the divice and I set it up in English does Siri will function?
-
Is it possible to print a form in APEX 2.1?
Hi, Is it possible to print a form in APEX 2.1? I'm able to export a report in cvs, but not a form. Thanks.
-
Multiple records in MessageInOutEvents table
I have enabled tracking the message body in my receive port before the file is processed but I get two entries available in the [dta_MessageInOutEvents] table due to which the BTS.MessageId is returning the message id of the second entry for which no
-
Pictures duplicated in "moments" view
On my iPad2 (iOS8), when viewing pictures in the "moments" view, all of the pictures taken last 4 months show up as duplicates. The pictures are not really duplicated, in "collections" or "year" they do not show as duplicates. Why is this?
-
BAPI_BATCH_CREATE issue
Hi All, I am using BAPI_BATCH_CREATE to create batch entered by user. and BAPI_TRANSACTION_COMMIT to commit batch. My problem is, when it com out of the BAPI_BATCH_CREATE , return table is empty, and eventually sy-subrc is not equal to 0. however bat