XML Writing " " or " " AKA or
Hi there,
How do I write a less than or greater than symbol to an xml file? The code works but the resulting XML file contains the named character entity reference in place of the less than or greater than sign.
I need the xml to refer to Cascading Style Sheets. If we build the xml manually, everything works fine. We are trying to build a utility with AIR to create the xml for us, based on contents of fields on an AIR form. Everything works before we try to add "![CDATA[<p>" as the opening tag.
Out of despiration, we've tried a number of things. The latest is using variables to hold the strings we want to write as in what you see next:
var cDataStart:String = "![CDATA[<p>";
var cDataEnd:String = "</p>]]";
newElements.DragDropContainer.appendChild(<DragDrop><Labels name={Match}>{cDataStart+fileName+cDataEnd}</Labels><Targets image={png}value ={Match}></Targets></DragDrop>);
This results in this XML:
<DragDrop>
<Labels name="Match0">![CDATA[<p>label</p>]]</Labels>
<Targets image="image3.png" value="Match0"/>
</DragDrop>
Thoughts anyone?
Thanks
Pete H.
Thank you kglad, that solved the issue. Once all the parts were typed as XML vars, we were able to successfully write CDATA tags to the xml file!
The final function code looked like this:
function populateDDXML()
//DD nodes
var fileName:String;
var mp3:String;
var Match:String;
var TargetlabelsMatch:XML;
var png:String;
var myTest:XML;
for (var i :Number = 0; i < 3; i++)
for (var j :Number = 0; j < DDNum; j++)
fileName = catArray[i][j].text;
png = catArray[1][j].text + ".png";
mp3 = catArray[i][j].text + ".mp3";
Match = "Match" + j;
TargetlabelsMatch = XML("TargetlabelsMatch" + j);
myTest = XML("<![CDATA[<p>" + TargetlabelsMatch + "</p>]]>");
if(i==0)
newElements.DragDropContainer.appendChild(<DragDrop><Labels name={Match}>{myTest}</Labels><Targets image={png}value ={Match}></Targets></DragDrop>);
if(i==2)
newElements.DragDropContainer.appendChild(<sound name={TargetlabelsMatch}>{mp3}</sound>);
Similar Messages
-
XML - writing file #1088 (xml not well formed)
Hi,
What could cause the IO Error #1088 within the code below? All I can think of is white space issue. It prints to the screen AND saves to the xml file correctly, just keeps throwing up the code.
Also, writing it this way wont' allow me to add <?xml version='1.0' encoding='utf-8'?> is it required?
Thanks for any help.
var authors:XML;
authors =<authors>
<author>
<firstname>Rich</firstname>
<lastname>Shupe</lastname>
</author>
<author>
<firstname>Zevan</firstname>
<lastname>Rosser</lastname>
</author>
</authors>;
var xml =authors;
var book:XML = new XML(xml);
var xmlResponse:XML;
var xmlURLReq:URLRequest = new URLRequest("saveXML.php");
xmlURLReq.data = book;
xmlURLReq.contentType = "text/xml";
xmlURLReq.method = URLRequestMethod.POST;
var xmlSendLoad:URLLoader = new URLLoader();
xmlSendLoad.addEventListener(Event.COMPLETE, onComplete, false, 0, true);
xmlSendLoad.addEventListener(IOErrorEvent.IO_ERROR, onIOError, false, 0, true);
xmlSendLoad.load(xmlURLReq);
function onComplete(evt:Event):void {
try {
xmlResponse = new XML(evt.target.data);
respTxt.text = xmlResponse;
removeEventListener(Event.COMPLETE, onComplete);
removeEventListener(IOErrorEvent.IO_ERROR, onIOError);
} catch (err:TypeError) {
respTxt.text = "An error occured when communicating with server:\n" + err.message+" "+xml;
function onIOError(evt:IOErrorEvent):void {
respTxt.text = "An error occurred when attempting to load the XML.\n" + evt.text;Answered it myself....
The PHP script was adding additional<tags></tags> so the file I was outputing read:
<root>
<teams>
<team1></team1>
<team2></team2>
</teams>
</root>
<phpaddedInfo></phpaddedInfo>
so just a good idea to look in both places when you get an IO error #1088 -
I've gotten into trouble when I write back '>', '<' and '&' characters to an XML file. I am currently using a basic FileWriter with some loops and stuff to write it back. I know it's possible to just replace those character occurences with the appropriate &xxx; codes, but isn't there an API which takes care of this automatically?
At parsing it seems to convert the & > and < perfectly.... but isn't there an API which takes care of this
automatically?Yes, any of those classes that are designed to work with XML (javax.xml.transform and so on) do take care of this. But if you choose to write your XML with your own code then it has to handle escaping by itself. -
Hi all,
I want to write a cfm application to manage the mp3 files by
editing the ASX file, which is a xml-formated file, just like
below:
<ASX version="3.0">
<Entry>
<TITLE>Enya</TITLE>
<Ref href="
http://www.xxx.com/mp3/enya.mp3"/>
</Entry>
<Entry>
<TITLE>Love</TITLE>
<Ref href="
http://www.xxx.com/mp3/love.mp3"/>
</Entry>
</ASX>
but when I edit the ASX file and write it back to server,
coldfusion adds a line <?xml version="1.0" encoding="utf-8"?>
to the header of the ASX file, and Microsoft Media Player can not
parse it, How can I write a ASX file or XML file without the line
<?xml version="1.0" encoding="gb2312"?> at the header of the
file?
David
Thank you very much.OK, I have done it. Thanks to all.
-
Read from an XML previously created by LabView
Hi everyone,
My problem is, as the title says, I need to read Data from an XML file, if the file does not exist, LabView creates it. So far it works. After the creation though, when I go through the subroutine again and want to read the data back from the XML file, it brings me the Error Code 1006 and tells me something about not being able to read it since "the XML-Tag isn't the same type as the type of the variable connected." (roughly translated from German)
The Variable I want to read something back to is a Cluster consisting of 2 Clusters constisting of 1) two numeric elements and 2) a string and a 1-D array of 12 numeric element.
The part that's confusing me is, that LabView saved the data itself w/o problems and in its own XML format. So it shouldn't really bring up any problems reading it back to the same variable, now should it?
If anyone has an answer, I'm happy about anything, this has been driving me nuts the whole day
Thanks in advance and Regards,
Pedro
Solved!
Go to Solution.Hi,
sorry for my vague description, lets try to fix this:
For writing the XML-File, I use "Write To XML File.vi", the LabView standard XML writing VI.
For reading from it again, I use "Read From XML File.vi", also the LabView standard.
My LabView version is 8.5
I'll attach some pictures and the created XML file which I hope will be of help.
"Limits Template.png" is my Cluster to save the data in. As I said previously, the data was written from this very cluster, yet it cannot be read back to it. As you can see in there, the array is created correctly with 12 elements and their corresponding sizes.
Thanks in advance,
Regards,
Pedro
EDIT: checked again, the error code indeed is 1106
Attachments:
Limits Template.png 13 KB
test123788_Limits.txt 2 KB -
Writind Data to XML in XML Format
Hi,
This is my First post in Sun Forums.
I m learning XML writing in Java.
I have searched on the Net but unable to find the proper XML writing Method using any API.
Please provide code for writing the XML in correct format with useful API.?
i m giving the Scenario of XML here:-
<?xml version="1.0" encoding="UTF-8"?>
<Data>
<Description>Description Addes</Description>
<Details>Details Added</Details>
</Data>
I want to Write this Data Using the Java using any API.
Also I want to append the Data while i m executing the XML for second time.
<?xml version="1.0" encoding="UTF-8"?>
<Data>
<Description>Description Addes</Description>
<Details>Details Added</Details>
</Data>
<Data>
<NewDescription>NewDescription Addes</NewDescription>
<NewDetails>NewDetails Added</NewDetails>
</Data>
I have also made 1 application using dom4j which write data to XML file but while i m appending the Data
for the Second time in the XML the same line repeatd <?xml version="1.0" encoding="UTF-8"?> in the XML.
So please guide me how to remove or delete this line while i m going for writing the XML again or Appending the Data Again..
Please provide some code or good Links or Solution for my Problem for writing the Simple XML format file and Appending the Data to the Same XML without including the <?xml version="1.0" encoding="UTF-8"?> this line
Again ?
?.Hi,
I have Attached my Whole code in which the Same Line <?xml version="1.0" encoding="UTF-8"?> is appended while i m running this code second ,third ,fourth....n..times...
import java.util.logging.Level;
import java.util.logging.Logger;
import org.dom4j.Document;
import org.dom4j.DocumentHelper;
import org.dom4j.Element;
import org.dom4j.io.XMLWriter;
import org.dom4j.io.OutputFormat;
import java.io.*;
public class XMLWriting {
FileWriter out;
int i=1;
OutputFormat outformat;
XMLWriter writer;
public XMLWriting() {
public static void main(String s[]) {
System.out.println("In the Main Method::");
XMLWriting onj = new XMLWriting();
onj.createDocument();
System.out.println("In the Main Method::111111111111");
public void createDocument() {
try {
System.out.println("In the Main Method::22222222222");
out = new FileWriter("D:/foo3",true);
} catch (IOException ex) {
//Logger.getLogger(XMLWriting.class.getName()).log(Level.SEVERE, null, ex);
System.out.println("Exception Is in the CreateDocument Is::"+ex.getMessage());
Document document =DocumentHelper.createDocument();
Element root = document.addElement("root");
String Data="Data";
//Element testNode = root.addElement("Description");
Element author1 = root.addElement("Description").addText(Data);
Element author2 = root.addElement("Data").addText(" nimesh");
Element author3 = root.addElement("XMl").addText("Jignesh");
try {
//OutputFormat outformat =OutputFormat.createCompactFormat();
outformat = OutputFormat.createPrettyPrint();
writer= new XMLWriter(out,outformat);
writer.write(document);
writer.close();
} catch (Exception e) {
System.out.println("Exception Is ::"+e.getMessage());
e.printStackTrace();
OutPut after Executing Two Time:-
<?xml version="1.0" encoding="UTF-8"?>//same line appended twice
<root>
<Description>Data</Description>
<Data>nimesh</Data>
<XMl>Jignesh</XMl>
</root>
<?xml version="1.0" encoding="UTF-8"?>//same line appended twice
<root>
<NewDescription>NewData</NewDescription>
<NewData>Newnimesh</NewData>
<NewXMl>NewJignesh</NewXMl>
</root>
Please help me out in this ....If any modification is needed then correct my mistake and reply me with modified code ...I want this type of OutPut without Appending the <?xml version="1.0" encoding="UTF-8"?> this line in the XML file....
<?xml version="1.0" encoding="UTF-8"?>
<root>
<Description>Data</Description>
<Data>nimesh</Data>
<XMl>Jignesh</XMl>
</root>
<root>
<NewDescription>NewData</NewDescription>
<NewData>Newnimesh</NewData>
<NewXMl>NewJignesh</NewXMl>
</root> -
Create XML using Data Templates
Is anyone familiar will a tool, other than oracle that will create XML from data template definitions.
I trying to understand if the data template definitions are an Oracle specific tool that only Oracle can use to generate XML files.
If this is specific to Oracle, is there an easier way to use the data templates to generate XML without registering them in the concurrent manager, XMLP Admin, and then executing the concurrent process?
I'm looking for a shortcut to testing these files without having to register everything.Why not using XML Publisher Standalone aka Enterprise 5.6.2 ?
There you can generate the XML based on data templates without registering anything. The installation is quite easy.
Juergen -
I have a program that has a hierarchical type of data that it stores. I want to make the data captured avaliable through a web page. I was going to use JDBC-ODBC driver and access then asp at the web server. Can I use XML instead for this purpose? It would seem more platform independant.
Then xml file will be simple. What is the simplest way to create an XML file. I really dont want to have to download more class files so does jdk1.3,1 and above incolude the xml stuff that I will need. If not were should I look.
Any help is much appreciated, I am sorry that I have no dukes to offer!Jimmy,
You need to XML writing logic to put the data from you web GUI to XML file and tranfer the same across the network using JMS (thru jndi) or mqseries through queues . And you need XML parser to map your data to your data objects.
Hope this helps.
Dukkar Lee -
Adconfig Return Error Code = 1 on appsTier
Hello,
I've got a problem here about adconfig on appsTier.
I don't know to trace error log file, i've just get the adconfig.log. How to know error log for this problem.
Error happen after update timezone on server while application status online.
Starting AutoConfig at Fri Apr 10 18:53:39 2015
Using adconfig.pl version 120.32.12020000.2
Classpath : /data05/ORADEV/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-appsborg/WEB-INF/lib/ebsAppsborgManifest.jar:/data05/ORADEV/fs1/EBSapps/comn/java/classes
===========================================================================
Starting Utility to Report Version Conflicts at Fri Apr 10 18:53:41 WIT 2015
Using VersionConflictListGenerator.java version 120.4
All driver files processed.
No version conflict encountered.
===========================================================================
Using Context file : /data05/ORADEV/fs1/inst/apps/ORADEV_db/appl/admin/ORADEV_db.xml
Attempting to create a back up of the Context file
Created back up file of name :
/data05/ORADEV/fs1/inst/apps/ORADEV_db/admin/out/04101853/ORADEV_db.xml
===========================================================================
Starting synchronization of file system Context file and its templates with those in the database
Database connection : Established
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOST=db.pv-app.co.id)(PORT=1525)))(CONNECT_DATA=(SERVICE_NAME=ORADEV)))'
Trying to connect using APPS_JDBC_URL
Connection obtained.
-------------------ADX Database Utility Finished---------------
OAM Context editing support feature: Enabled
OAM Customization support feature : Enabled
File system template : /data05/ORADEV/fs1/EBSapps/appl/ad/12.0.0/admin/template/adxmlctx.tmp
Checking for customizations to Context template
Customizations found : None
File system Context file :/data05/ORADEV/fs1/inst/apps/ORADEV_db/appl/admin/ORADEV_db.xml
Checking the Context file for possible updates from the Database
Comparing the Context file stored in database with the Context file in the file system
Result : The two Context files are in sync
===========================================================================
Starting Updates of Context file Fri Apr 10 18:53:44 WIT 2015
found context version : 120.401.12020000.43
available update version : 120.401.12020000.43
No updates to apply
Ending Updates of Context file
===========================================================================
===========================================================================
Config Tool CVMHelper started at Fri Apr 10 18:53:44 WIT 2015
===========================================================================
Updating local context file variables for Middle Tier
Checking file /data05/ORADEV/fs1/EBSapps/appl/ad/12.0.0/admin/template/adgendbc_ux.sh
FND_SECURE: /data05/ORADEV/fs1/inst/apps/ORADEV_db/appl/fnd/12.0.0/secure
DBC FILE NAME: ORADEV
File exists, getting the version
Version: 120.10
No updates to s_fnd_secure needed
Writing Context File back to File System
Context file updated
Making database connection using DBUtil
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOST=db.pv-app.co.id)(PORT=1525)))(CONNECT_DATA=(SERVICE_NAME=ORADEV)))'
Trying to connect using APPS_JDBC_URL
Connection obtained.
-------------------ADX Database Utility Finished---------------
Database connection successfully obtained
Updating context file variables for Middle Tier
Checking for new context variables
No new variables found in the context file
Updated s_dbGlnam to ORADEV
Processing existing variables with updated defaults
Updated s_defterr to AMERICA
Updated s_apps_version to 12.2.4
Writing Context File back to File System
Context file updated
Closing connection
Connection closed
===========================================================================
Starting synchronization of product tops at Fri Apr 10 18:53:44 WIT 2015
Contextfile : /data05/ORADEV/fs1/inst/apps/ORADEV_db/appl/admin/ORADEV_db.xml
Topfile : /data05/ORADEV/fs1/EBSapps/appl/admin/topfile.txt
Verifying system requirements:
ContextFile : VALID
TopFile : VALID
No updates to Contextfile for Product Tops needed
Synchronization of product tops successful
===========================================================================
===========================================================================
Starting synchronization of product tops at Fri Apr 10 18:53:44 WIT 2015
Contextfile : /data05/ORADEV/fs1/inst/apps/ORADEV_db/appl/admin/ORADEV_db.xml
Topfile : /data05/ORADEV/fs1/EBSapps/appl/admin/topfile.txt
Verifying system requirements:
ContextFile : VALID
TopFile : VALID
No updates to Contextfile for Product Tops needed
Synchronization of product tops successful
===========================================================================
===========================================================================
Starting location of IANA character set
[s_iana_cset]
IANA Charset obtained from Database : US-ASCII
IANA Charset present in Context file : US-ASCII
IANA Charset based on APPL_TOP char set: US-ASCII
IANA Charset decided for Context file : US-ASCII
Action taken : None, since the correct value exists in the Context file
===========================================================================
===========================================================================
Starting Context Value Management System at Fri Apr 10 18:53:44 WIT 2015
Using version 120.14
Options:
Force : no
Contextfile : /data05/ORADEV/fs1/inst/apps/ORADEV_db/appl/admin/ORADEV_db.xml
Templatefile : /data05/ORADEV/fs1/EBSapps/appl/ad/12.0.0/admin/template/adxmlctx.tmp
ValueUpdateFile : /data05/ORADEV/fs1/EBSapps/appl/ad/12.0.0/admin/template/adcvmat.xml
Verifying value management system requirements:
ContextFile : VALID
Template File : VALID
ValueUpdateFile : VALID
Parsing the ValueUpdateFile
[ s_contextfile ]
Action : seed
Change reason : Setting the location to what has been specified by user
New value : /data05/ORADEV/fs1/inst/apps/ORADEV_db/appl/admin/ORADEV_db.xml
[ s_adperlprg ]
Action : seed
Change reason : Setting the location to what has been specified by user
New value : /data05/ORADEV/fs1/FMW_Home/webtier/perl/bin/perl
[ s_perl5lib ]
Action : seed
Change reason : Setting the location to what has been specified by user
New value : /data05/ORADEV/fs1/FMW_Home/webtier/perl/lib/5.10.0:/data05/ORADEV/fs1/FMW_Home/webtier/perl/lib/site_perl/5.10.0:/data05/ORADEV/fs1/EBSapps/appl/au/12.0.0/perl:/data05/ORADEV/fs1/FMW_Home/webtier/ohs/mod_perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi
[ s_javamailer_imap_user ]
Action : askUser
Change reason : These values will be used for the Java-based Workflow Mailer utility.
Expected value : changeOnJavaMailerInstall
Found value : NoImapUser
INFO : Customer has already set a value - skipping
[ s_javamailer_reply_to ]
Action : askUser
Change reason : These values will be used for the Java-based Workflow Mailer utility.
Expected value : changeOnJavaMailerInstall
Found value : NoReplyTo
INFO : Customer has already set a value - skipping
[ s_javamailer_imaphost ]
Action : askUser
Change reason : These values will be used for the Java-based Workflow Mailer utility.
Expected value : changeOnJavaMailerInstall
Found value : NoImapHost
INFO : Customer has already set a value - skipping
[ s_javamailer_imapdomainname ]
Action : askUser
Change reason : These values will be used for the Java-based Workflow Mailer utility.
Expected value : changeOnJavaMailerInstall
Found value : NoImapDomain
INFO : Customer has already set a value - skipping
[ s_ohs_serveradmin ]
Action : askUser
Change reason : This value will be used for OHS Administator email address.
Expected value : changeOnOHSInstall
Found value : [email protected]
INFO : Customer has already set a value - skipping
[ s_adminserver_classpath ]
Action : translate
Change reason : tools.jar is not required for admin server
Expected value : [/data05/ORADEV/fs1/FMW_Home/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/data05/ORADEV/fs1/FMW_Home/jrockit64/lib/tools.jar:/data05/ORADEV/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic_sp.jar:/data05/ORADEV/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/data05/ORADEV/fs1/FMW_Home/modules/features/weblogic.server.modules_10.3.6.0.jar:/data05/ORADEV/fs1/FMW_Home/wlserver_10.3/server/lib/webservices.jar:/data05/ORADEV/fs1/FMW_Home/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/data05/ORADEV/fs1/FMW_Home/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/webcenter/modules/oracle.portlet.server_11.1.1/oracle-portlet-api.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/modules/oracle.jrf_11.1.1/jrf.jar:/data05/ORADEV/fs1/FMW_Home/wlserver_10.3/common/derby/lib/derbyclient.jar]
Found value : /data05/ORADEV/fs1/FMW_Home/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/data05/ORADEV/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic_sp.jar:/data05/ORADEV/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/data05/ORADEV/fs1/FMW_Home/modules/features/weblogic.server.modules_10.3.6.0.jar:/data05/ORADEV/fs1/FMW_Home/wlserver_10.3/server/lib/webservices.jar:/data05/ORADEV/fs1/FMW_Home/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/data05/ORADEV/fs1/FMW_Home/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/webcenter/modules/oracle.portlet.server_11.1.1/oracle-portlet-api.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/modules/oracle.jrf_11.1.1/jrf.jar:/data05/ORADEV/fs1/FMW_Home/wlserver_10.3/common/derby/lib/derbyclient.jar
New value : /data05/ORADEV/fs1/FMW_Home/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/data05/ORADEV/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic_sp.jar:/data05/ORADEV/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/data05/ORADEV/fs1/FMW_Home/modules/features/weblogic.server.modules_10.3.6.0.jar:/data05/ORADEV/fs1/FMW_Home/wlserver_10.3/server/lib/webservices.jar:/data05/ORADEV/fs1/FMW_Home/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/data05/ORADEV/fs1/FMW_Home/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/webcenter/modules/oracle.portlet.server_11.1.1/oracle-portlet-api.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/modules/oracle.jrf_11.1.1/jrf.jar:/data05/ORADEV/fs1/FMW_Home/wlserver_10.3/common/derby/lib/derbyclient.jar
Check Condition : Unconditional
INFO : Customer has the new value already in place - skipping
[ s_oaea_classpath ]
Action : translate
Change reason : xdoprotocolwrapper.jar is not removed to avoid class conflicts with fndext.jar
Expected value : [/data05/ORADEV/fs1/FMW_Home/oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar:/data05/ORADEV/fs1/FMW_Home/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/data05/ORADEV/fs1/EBSapps/comn/util/jdk64/lib/tools.jar:/data05/ORADEV/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic_sp.jar:/data05/ORADEV/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/data05/ORADEV/fs1/FMW_Home/modules/features/weblogic.server.modules_10.3.6.0.jar:/data05/ORADEV/fs1/FMW_Home/wlserver_10.3/server/lib/webservices.jar:/data05/ORADEV/fs1/FMW_Home/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/data05/ORADEV/fs1/FMW_Home/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/soa/modules/commons-cli-1.1.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/soa/modules/oracle.soa.mgmt_11.1.1/soa-infra-mgmt.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/webcenter/modules/oracle.portlet.server_11.1.1/oracle-portlet-api.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/modules/oracle.jrf_11.1.1/jrf.jar:/data05/ORADEV/fs1/FMW_Home/wlserver_10.3/common/derby/lib/derbyclient.jar:/data05/ORADEV/fs1/FMW_Home/wlserver_10.3/server/lib/xqrl.jar:/data05/ORADEV/fs1/EBSapps/comn/java/classes/oracle/apps/fnd/jar/xdoprotocolwrapper.jar:/data05/ORADEV/fs1/EBSapps/comn/java/classes/oracle/apps/fnd/jar/fndext.jar]
Found value : /data05/ORADEV/fs1/FMW_Home/oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar:/data05/ORADEV/fs1/FMW_Home/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/data05/ORADEV/fs1/EBSapps/comn/util/jdk64/lib/tools.jar:/data05/ORADEV/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic_sp.jar:/data05/ORADEV/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/data05/ORADEV/fs1/FMW_Home/modules/features/weblogic.server.modules_10.3.6.0.jar:/data05/ORADEV/fs1/FMW_Home/wlserver_10.3/server/lib/webservices.jar:/data05/ORADEV/fs1/FMW_Home/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/data05/ORADEV/fs1/FMW_Home/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/soa/modules/commons-cli-1.1.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/soa/modules/oracle.soa.mgmt_11.1.1/soa-infra-mgmt.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/webcenter/modules/oracle.portlet.server_11.1.1/oracle-portlet-api.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/modules/oracle.jrf_11.1.1/jrf.jar:/data05/ORADEV/fs1/FMW_Home/wlserver_10.3/common/derby/lib/derbyclient.jar:/data05/ORADEV/fs1/FMW_Home/wlserver_10.3/server/lib/xqrl.jar
New value : /data05/ORADEV/fs1/FMW_Home/oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar:/data05/ORADEV/fs1/FMW_Home/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/data05/ORADEV/fs1/EBSapps/comn/util/jdk64/lib/tools.jar:/data05/ORADEV/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic_sp.jar:/data05/ORADEV/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/data05/ORADEV/fs1/FMW_Home/modules/features/weblogic.server.modules_10.3.6.0.jar:/data05/ORADEV/fs1/FMW_Home/wlserver_10.3/server/lib/webservices.jar:/data05/ORADEV/fs1/FMW_Home/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/data05/ORADEV/fs1/FMW_Home/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/soa/modules/commons-cli-1.1.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/soa/modules/oracle.soa.mgmt_11.1.1/soa-infra-mgmt.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/webcenter/modules/oracle.portlet.server_11.1.1/oracle-portlet-api.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/modules/oracle.jrf_11.1.1/jrf.jar:/data05/ORADEV/fs1/FMW_Home/wlserver_10.3/common/derby/lib/derbyclient.jar:/data05/ORADEV/fs1/FMW_Home/wlserver_10.3/server/lib/xqrl.jar
Check Condition : Unconditional
INFO : Customer has the new value already in place - skipping
[ s_conc_java_ldlib ]
Action : translate
Change reason : Needed to resolve loading of library libnnz10
Expected value : [/data05/ORADEV/fs1/FMW_Home/webtier/lib32:/data05/ORADEV/fs1/FMW_Home/webtier/lib:/data05/ORADEV/fs1/EBSapps/10.1.2/jdk/jre/lib/i386:/data05/ORADEV/fs1/EBSapps/10.1.2/jdk/jre/lib/i386/server:/data05/ORADEV/fs1/EBSapps/10.1.2/jdk/jre/lib/i386/native_threads:/data05/ORADEV/fs1/EBSapps/appl/cz/12.0.0/bin:${LD_LIBRARY_PATH:=}:/data05/ORADEV/fs1/EBSapps/appl/pon/12.0.0/bin]
Found value : /data05/ORADEV/fs1/EBSapps/10.1.2/lib32:/data05/ORADEV/fs1/EBSapps/10.1.2/lib:/data05/ORADEV/fs1/FMW_Home/webtier/lib32:/data05/ORADEV/fs1/FMW_Home/webtier/lib:/data05/ORADEV/fs1/EBSapps/10.1.2/jdk/jre/lib/i386:/data05/ORADEV/fs1/EBSapps/10.1.2/jdk/jre/lib/i386/server:/data05/ORADEV/fs1/EBSapps/10.1.2/jdk/jre/lib/i386/native_threads:/data05/ORADEV/fs1/EBSapps/appl/cz/12.0.0/bin:${LD_LIBRARY_PATH:=}:/data05/ORADEV/fs1/EBSapps/appl/pon/12.0.0/bin
New value : /data05/ORADEV/fs1/EBSapps/10.1.2/lib32:/data05/ORADEV/fs1/EBSapps/10.1.2/lib:/data05/ORADEV/fs1/FMW_Home/webtier/lib32:/data05/ORADEV/fs1/FMW_Home/webtier/lib:/data05/ORADEV/fs1/EBSapps/10.1.2/jdk/jre/lib/i386:/data05/ORADEV/fs1/EBSapps/10.1.2/jdk/jre/lib/i386/server:/data05/ORADEV/fs1/EBSapps/10.1.2/jdk/jre/lib/i386/native_threads:/data05/ORADEV/fs1/EBSapps/appl/cz/12.0.0/bin:${LD_LIBRARY_PATH:=}:/data05/ORADEV/fs1/EBSapps/appl/pon/12.0.0/bin
Check Condition : Unconditional
INFO : Customer has the new value already in place - skipping
[ s_formsfndtop ]
Action : translate
Change reason : Forms launcher page (view source) is showing server side path details
Expected value : [/data05/ORADEV/fs1/EBSapps/appl/fnd/12.0.0]
Found value : FND_TOP
New value : FND_TOP
Check Condition : Unconditional
INFO : Customer has the new value already in place - skipping
[ s_oacore_ld_lib_path64 ]
Action : translate
Change reason : On 64-bit platform, library patch should contain 64-bit libraries from PON product
Expected value : [/data05/ORADEV/fs1/FMW_Home/webtier/lib:/data05/ORADEV/fs1/EBSapps/appl/cz/12.0.0/bin64:/data05/ORADEV/fs1/EBSapps/appl/iby/12.0.0/bin:/data05/ORADEV/fs1/EBSapps/appl/pon/12.0.0/bin:/data05/ORADEV/fs1/EBSapps/appl/sht/12.0.0/lib]
Found value : /data05/ORADEV/fs1/FMW_Home/webtier/lib:/data05/ORADEV/fs1/EBSapps/appl/cz/12.0.0/bin64:/data05/ORADEV/fs1/EBSapps/appl/iby/12.0.0/bin:/data05/ORADEV/fs1/EBSapps/appl/pon/12.0.0/bin64:/data05/ORADEV/fs1/EBSapps/appl/sht/12.0.0/lib
New value : /data05/ORADEV/fs1/FMW_Home/webtier/lib:/data05/ORADEV/fs1/EBSapps/appl/cz/12.0.0/bin64:/data05/ORADEV/fs1/EBSapps/appl/iby/12.0.0/bin:/data05/ORADEV/fs1/EBSapps/appl/pon/12.0.0/bin64:/data05/ORADEV/fs1/EBSapps/appl/sht/12.0.0/lib
Check Condition : Unconditional
INFO : Customer has the new value already in place - skipping
[ s_nodemanagertimeout ]
Action : translate
Change reason : Node manager fails to complete execution in the previous default value of timeout
Expected value : [100]
Found value : -1
New value : -1
Check Condition : Unconditional
INFO : Customer has the new value already in place - skipping
[ s_adminservertimeout ]
Action : translate
Change reason : Admin server fails to complete execution in the previous default value of timeout
Expected value : [1000]
Found value : -1
New value : -1
Check Condition : Unconditional
INFO : Customer has the new value already in place - skipping
[ s_custom_file ]
Action : translate
Change reason : custom env files need to go under $INST_TOP
Expected value : [/data05/ORADEV/fs1/EBSapps/appl/customORADEV_db.env]
Found value : /data05/ORADEV/fs1/inst/apps/ORADEV_db/appl/admin/customORADEV_db.env
New value : /data05/ORADEV/fs1/inst/apps/ORADEV_db/appl/admin/customORADEV_db.env
Check Condition : Unconditional
INFO : Customer has the new value already in place - skipping
[ s_oaea_nodes ]
Action : translate
Change reason : The value remaining null will result in failure to startup OHS service.
Expected value : []
Found value : db.pv-app.co.id:6805
New value : db.pv-app.co.id:6805
Check Condition : Unconditional
INFO : Customer has the new value already in place - skipping
===========================================================================
[ Config tool : /data05/ORADEV/fs1/EBSapps/appl/fnd/12.0.0/patch/115/bin/txkGenEBSManifestJars.pl ]
Command : /data05/ORADEV/fs1/FMW_Home/webtier/perl/bin/perl -I /data05/ORADEV/fs1/FMW_Home/webtier/perl/lib/5.10.0 -I /data05/ORADEV/fs1/FMW_Home/webtier/perl/lib/site_perl/5.10.0 -I /data05/ORADEV/fs1/EBSapps/appl/au/12.0.0/perl -I /data05/ORADEV/fs1/FMW_Home/webtier/ohs/mod_perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /data05/ORADEV/fs1/EBSapps/appl/fnd/12.0.0/patch/115/bin/txkGenEBSManifestJars.pl contextfile=/data05/ORADEV/fs1/inst/apps/ORADEV_db/appl/admin/ORADEV_db.xml
Action : execute
SCRIPT RETURNED:
Refer log file /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015.log for details
Script Name : txkGenEBSManifestJars.pl
Script Version : 120.6.12020000.3
Started : Fri Apr 10 18:53:45 WIB 2015
AD_TOP variable is already in the environment....
Processing the file /data05/ORADEV/fs1/EBSapps/comn/shared-libs/ebsProductManifest.xml...
Taking back up of the file
ACTUAL FILE : /data05/ORADEV/fs1/EBSapps/comn/shared-libs/ebs-product/WEB-INF/lib/ebsProductManifest.jar
BACKUP LOCATION : /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsProductManifest_Fri_Apr_10_18_53_44_2015.jar
Replacing old file /data05/ORADEV/fs1/EBSapps/comn/shared-libs/ebsProductManifest.xml with new file /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsProductManifest.xml.temp
Getting manifest attributes from /data05/ORADEV/fs1/EBSapps/comn/shared-libs/ebsProductManifest.xml
Getting classpath from /data05/ORADEV/fs1/EBSapps/comn/shared-libs/ebsProductManifest.xml
Writing attributes into the file /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsProductManifest.txt
ATTRIBUTE: Implementation-Vendor: Oracle Corporation
ATTRIBUTE: Implementation-Version: Oracle E-Business Suite 12.2.0
ATTRIBUTE: Manifest-Version: 1.0
Writing classpath into the file /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsProductManifest.txt
Generating manifest JAR /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsProductManifest.jar
Execute SYSTEM command : /data05/ORADEV/fs1/EBSapps/comn/util/jdk32/bin/jar -cvfm /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsProductManifest.jar /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsProductManifest.txt
added manifest
Replacing old file /data05/ORADEV/fs1/EBSapps/comn/shared-libs/ebs-product/WEB-INF/lib/ebsProductManifest.jar with new file /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsProductManifest.jar
Processing the file /data05/ORADEV/fs1/EBSapps/comn/shared-libs/ebs3rdpartyManifest.xml...
Taking back up of the file
ACTUAL FILE : /data05/ORADEV/fs1/EBSapps/comn/shared-libs/ebs-3rdparty/WEB-INF/lib/ebs3rdpartyManifest.jar
BACKUP LOCATION : /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebs3rdpartyManifest_Fri_Apr_10_18_53_44_2015.jar
Replacing old file /data05/ORADEV/fs1/EBSapps/comn/shared-libs/ebs3rdpartyManifest.xml with new file /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebs3rdpartyManifest.xml.temp
Getting manifest attributes from /data05/ORADEV/fs1/EBSapps/comn/shared-libs/ebs3rdpartyManifest.xml
Getting classpath from /data05/ORADEV/fs1/EBSapps/comn/shared-libs/ebs3rdpartyManifest.xml
Writing attributes into the file /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebs3rdpartyManifest.txt
ATTRIBUTE: Implementation-Vendor: Oracle Corporation
ATTRIBUTE: Implementation-Version: Oracle E-Business Suite 12.2.0
ATTRIBUTE: Manifest-Version: 1.0
Writing classpath into the file /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebs3rdpartyManifest.txt
Generating manifest JAR /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebs3rdpartyManifest.jar
Execute SYSTEM command : /data05/ORADEV/fs1/EBSapps/comn/util/jdk32/bin/jar -cvfm /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebs3rdpartyManifest.jar /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebs3rdpartyManifest.txt
added manifest
Replacing old file /data05/ORADEV/fs1/EBSapps/comn/shared-libs/ebs-3rdparty/WEB-INF/lib/ebs3rdpartyManifest.jar with new file /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebs3rdpartyManifest.jar
Processing the file /data05/ORADEV/fs1/EBSapps/comn/shared-libs/ebsFormsManifest.xml...
Taking back up of the file
ACTUAL FILE : /data05/ORADEV/fs1/EBSapps/comn/shared-libs/ebs-forms/WEB-INF/lib/ebsFormsManifest.jar
BACKUP LOCATION : /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsFormsManifest_Fri_Apr_10_18_53_44_2015.jar
Replacing old file /data05/ORADEV/fs1/EBSapps/comn/shared-libs/ebsFormsManifest.xml with new file /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsFormsManifest.xml.temp
Getting manifest attributes from /data05/ORADEV/fs1/EBSapps/comn/shared-libs/ebsFormsManifest.xml
Getting classpath from /data05/ORADEV/fs1/EBSapps/comn/shared-libs/ebsFormsManifest.xml
Writing attributes into the file /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsFormsManifest.txt
ATTRIBUTE: Implementation-Vendor: Oracle Corporation
ATTRIBUTE: Implementation-Version: Oracle E-Business Suite 12.2.0
ATTRIBUTE: Manifest-Version: 1.0
Writing classpath into the file /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsFormsManifest.txt
Generating manifest JAR /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsFormsManifest.jar
Execute SYSTEM command : /data05/ORADEV/fs1/EBSapps/comn/util/jdk32/bin/jar -cvfm /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsFormsManifest.jar /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsFormsManifest.txt
added manifest
Replacing old file /data05/ORADEV/fs1/EBSapps/comn/shared-libs/ebs-forms/WEB-INF/lib/ebsFormsManifest.jar with new file /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsFormsManifest.jar
Processing the file /data05/ORADEV/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebsAppsborgManifest.xml...
Taking back up of the file
ACTUAL FILE : /data05/ORADEV/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-appsborg/WEB-INF/lib/ebsAppsborgManifest.jar
BACKUP LOCATION : /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsAppsborgManifest_Fri_Apr_10_18_53_44_2015.jar
Replacing old file /data05/ORADEV/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebsAppsborgManifest.xml with new file /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsAppsborgManifest.xml.temp
Getting manifest attributes from /data05/ORADEV/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebsAppsborgManifest.xml
Getting classpath from /data05/ORADEV/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebsAppsborgManifest.xml
Writing attributes into the file /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsAppsborgManifest.txt
ATTRIBUTE: Implementation-Vendor: Oracle Corporation
ATTRIBUTE: Implementation-Version: Oracle E-Business Suite 12.2.0
ATTRIBUTE: Manifest-Version: 1.0
Writing classpath into the file /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsAppsborgManifest.txt
Generating manifest JAR /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsAppsborgManifest.jar
Execute SYSTEM command : /data05/ORADEV/fs1/EBSapps/comn/util/jdk32/bin/jar -cvfm /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsAppsborgManifest.jar /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsAppsborgManifest.txt
added manifest
Replacing old file /data05/ORADEV/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-appsborg/WEB-INF/lib/ebsAppsborgManifest.jar with new file /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsAppsborgManifest.jar
Processing the file /data05/ORADEV/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebsFMWManifest.xml...
Taking back up of the file
ACTUAL FILE : /data05/ORADEV/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-fmw/WEB-INF/lib/ebsFMWManifest.jar
BACKUP LOCATION : /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsFMWManifest_Fri_Apr_10_18_53_44_2015.jar
Replacing old file /data05/ORADEV/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebsFMWManifest.xml with new file /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsFMWManifest.xml.temp
Getting manifest attributes from /data05/ORADEV/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebsFMWManifest.xml
Getting classpath from /data05/ORADEV/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebsFMWManifest.xml
Writing attributes into the file /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsFMWManifest.txt
ATTRIBUTE: Implementation-Vendor: Oracle Corporation
ATTRIBUTE: Implementation-Version: Oracle E-Business Suite 12.2.0
ATTRIBUTE: Manifest-Version: 1.0
Writing classpath into the file /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsFMWManifest.txt
Generating manifest JAR /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsFMWManifest.jar
Execute SYSTEM command : /data05/ORADEV/fs1/EBSapps/comn/util/jdk32/bin/jar -cvfm /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsFMWManifest.jar /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsFMWManifest.txt
added manifest
Replacing old file /data05/ORADEV/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-fmw/WEB-INF/lib/ebsFMWManifest.jar with new file /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ebsFMWManifest.jar
Taking back up of the file
ACTUAL FILE : /data05/ORADEV/fs1/inst/apps/ORADEV_db/appl/admin/ORADEV_db.xml
BACKUP LOCATION : /data05/ORADEV/fs1/inst/apps/ORADEV_db/logs/appl/rgf/TXK/txkGenEBSManifestJars_Fri_Apr_10_18_53_44_2015/ORADEV_db.xml
Start of method: ContextValueMgmt
=====================================================================
Execute SYSTEM command : /data05/ORADEV/fs1/EBSapps/comn/util/jdk32/bin/java -classpath :/data05/ORADEV/fs1/EBSapps/comn/shared-libs/ebs-3rdparty/WEB-INF/lib/ebs3rdpartyManifest.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/modules/oracle.odl_11.1.1/ojdl.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/modules/oracle.dms_11.1.1/dms.jar:/data05/ORADEV/fs1/EBSapps/comn/java/classes oracle.apps.ad.context.UpdateContext /data05/ORADEV/fs1/inst/apps/ORADEV_db/appl/admin/ORADEV_db.xml s_adovar_classpath "/data05/ORADEV/fs1/EBSapps/comn/util/jdk32/lib/dt.jar:/data05/ORADEV/fs1/EBSapps/comn/util/jdk32/lib/tools.jar:/data05/ORADEV/fs1/EBSapps/comn/util/jdk32/jre/lib/rt.jar:/data05/ORADEV/fs1/EBSapps/comn/shared-libs/ebs-3rdparty/WEB-INF/lib/ebs3rdpartyManifest.jar:/data05/ORADEV/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-fmw/WEB-INF/lib/ebsFMWManifest.jar:/data05/ORADEV/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-appsborg/WEB-INF/lib/ebsAppsborgManifest.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/modules/oracle.uix_11.1.1/uix2.jar:/data05/ORADEV/fs1/EBSapps/comn/java/classes:/data05/ORADEV/fs1/EBSapps/10.1.2/forms/java:/data05/ORADEV/fs1/EBSapps/10.1.2/forms/java/frmall.jar:/data05/ORADEV/fs1/EBSapps/10.1.2/jlib/ewt3.jar:/data05/ORADEV/fs1/EBSapps/10.1.2/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar" -derived /data05/ORADEV/fs1/EBSapps/appl/ad/12.0.0/admin/template/adxmlctx.tmp
=====================================================================
=====================================================================
Execute SYSTEM command : /data05/ORADEV/fs1/EBSapps/comn/util/jdk32/bin/java -classpath :/data05/ORADEV/fs1/EBSapps/comn/shared-libs/ebs-3rdparty/WEB-INF/lib/ebs3rdpartyManifest.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/modules/oracle.odl_11.1.1/ojdl.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/modules/oracle.dms_11.1.1/dms.jar:/data05/ORADEV/fs1/EBSapps/comn/java/classes oracle.apps.ad.context.UpdateContext /data05/ORADEV/fs1/inst/apps/ORADEV_db/appl/admin/ORADEV_db.xml s_adovar_afclasspath "/data05/ORADEV/fs1/EBSapps/comn/util/jdk32/lib/dt.jar:/data05/ORADEV/fs1/EBSapps/comn/util/jdk32/lib/tools.jar:/data05/ORADEV/fs1/EBSapps/comn/util/jdk32/jre/lib/rt.jar:/data05/ORADEV/fs1/EBSapps/comn/shared-libs/ebs-3rdparty/WEB-INF/lib/ebs3rdpartyManifest.jar:/data05/ORADEV/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-fmw/WEB-INF/lib/ebsFMWManifest.jar:/data05/ORADEV/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-appsborg/WEB-INF/lib/ebsAppsborgManifest.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/modules/oracle.uix_11.1.1/uix2.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/modules/oracle.jrf_11.1.1/jrf.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/modules/oracle.jrf_11.1.1/jrf-client.jar:/data05/ORADEV/fs1/EBSapps/comn/java/classes" -derived /data05/ORADEV/fs1/EBSapps/appl/ad/12.0.0/admin/template/adxmlctx.tmp
=====================================================================
=====================================================================
Execute SYSTEM command : /data05/ORADEV/fs1/EBSapps/comn/util/jdk32/bin/java -classpath :/data05/ORADEV/fs1/EBSapps/comn/shared-libs/ebs-3rdparty/WEB-INF/lib/ebs3rdpartyManifest.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/modules/oracle.odl_11.1.1/ojdl.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/modules/oracle.dms_11.1.1/dms.jar:/data05/ORADEV/fs1/EBSapps/comn/java/classes oracle.apps.ad.context.UpdateContext /data05/ORADEV/fs1/inst/apps/ORADEV_db/appl/admin/ORADEV_db.xml s_jto_classpath ".:/data05/ORADEV/fs1/EBSapps/comn/shared-libs/ebs-3rdparty/WEB-INF/lib/ebs3rdpartyManifest.jar:/data05/ORADEV/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-fmw/WEB-INF/lib/ebsFMWManifest.jar:/data05/ORADEV/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-appsborg/WEB-INF/lib/ebsAppsborgManifest.jar:/data05/ORADEV/fs1/FMW_Home/oracle_common/modules/oracle.uix_11.1.1/uix2.jar:/data05/ORADEV/fs1/EBSapps/comn/java/classes:/data05/ORADEV/fs1/EBSapps/comn/java/classes/3rdparty/RFJavaInt.zip" -derived /data05/ORADEV/fs1/EBSapps/appl/ad/12.0.0/admin/template/adxmlctx.tmp
=====================================================================
End of method: ContextValueMgmt
Successfully Completed the script
ERRORCODE = 0 ERRORCODE_END
.end std out.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
.end err out.
Result : SUCCEEDED
===========================================================================
===========================================================================
[ Config tool : /data05/ORADEV/fs1/EBSapps/appl/ad/12.0.0/bin/adchgatname.pl ]
Command : /data05/ORADEV/fs1/FMW_Home/webtier/perl/bin/perl -I /data05/ORADEV/fs1/FMW_Home/webtier/perl/lib/5.10.0 -I /data05/ORADEV/fs1/FMW_Home/webtier/perl/lib/site_perl/5.10.0 -I /data05/ORADEV/fs1/EBSapps/appl/au/12.0.0/perl -I /data05/ORADEV/fs1/FMW_Home/webtier/ohs/mod_perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /data05/ORADEV/fs1/EBSapps/appl/ad/12.0.0/bin/adchgatname.pl contextfile=/data05/ORADEV/fs1/inst/apps/ORADEV_db/appl/admin/ORADEV_db.xml
Action : execute
SCRIPT RETURNED:
Handle Appl_Top name changes, if any...
Final Command : /data05/ORADEV/fs1/EBSapps/comn/util/jdk32/jre/bin/java -classpath /data05/ORADEV/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-appsborg/WEB-INF/lib/ebsAppsborgManifest.jar:/data05/ORADEV/fs1/EBSapps/comn/java/classes -mx256m oracle.apps.ad.tools.configuration.ATNameHandler -e /data05/ORADEV/fs1/inst/apps/ORADEV_db/appl/admin/ORADEV_db.xml
Reading APPL_TOP name from Context XML file:
CONTEXT XML LOCATION : /data05/ORADEV/fs1/inst/apps/ORADEV_db/appl/admin/ORADEV_db.xml
APPL_TOP NAME IN CONTEXT XML: db
Reading APPL_TOP name from adconfig.txt file:
adconfig.txt LOCATION : /data05/ORADEV/fs1/EBSapps/appl/admin/adconfig.txt
APPL_TOP NAME IN adconfig.txt: db
Comparing the APPL_TOP names read from two sources.....
INFO : APPL_TOP name has not been changed.
REASON : Context XML and adconfig.txt contain same value for APPL_TOP name.
ACTION TAKEN : No action required.
ERRORCODE = 0 ERRORCODE_END
.end std out.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
.end err out.
Result : SUCCEEDED
===========================================================================
===========================================================================
[ Config tool : /data05/ORADEV/fs1/EBSapps/appl/fnd/12.0.0/patch/115/bin/txkSetConfig.pl ]
Command : /data05/ORADEV/fs1/FMW_Home/webtier/perl/bin/perl -I /data05/ORADEV/fs1/FMW_Home/webtier/perl/lib/5.10.0 -I /data05/ORADEV/fs1/FMW_Home/webtier/perl/lib/site_perl/5.10.0 -I /data05/ORADEV/fs1/EBSapps/appl/au/12.0.0/perl -I /data05/ORADEV/fs1/FMW_Home/webtier/ohs/mod_perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /data05/ORADEV/fs1/EBSapps/appl/fnd/12.0.0/patch/115/bin/txkSetConfig.pl contextfile=/data05/ORADEV/fs1/inst/apps/ORADEV_db/appl/admin/ORADEV_db.xml /data05/ORADEV/fs1/EBSapps/appl/au/12.0.0/perl
Action : execute
SCRIPT RETURNED:
TXK Script Name: txkSetConfig.pl
Before Setting Environment
AD_TOP : /data05/ORADEV/fs1/EBSapps/appl/ad/12.0.0
APPLTMP : /data05/ORADEV/fs1/inst/apps/ORADEV_db/appltmp
AD_TOP variable is already in the environment....
APPLTMP variable is already in the environment....
After Setting Environment
AD_TOP : /data05/ORADEV/fs1/EBSapps/appl/ad/12.0.0
APPLTMP : /data05/ORADEV/fs1/inst/apps/ORADEV_db/appltmp
Setting of Environment completed.
Start of method: ContextValueMgmt
===========================================
Inside setFormsModuleEnvVarIdentifiers()...
===========================================
Updating context Variable s_forms_module_prepend_env_var_identifier....
Updated context Variable s_forms_module_prepend_env_var_identifier to $
Updating context Variable s_forms_module_append_env_var_identifier....
Updated context Variable s_forms_module_append_env_var_identifier to
End of method: ContextValueMgmt
Execute SYSTEM command : /data05/ORADEV/fs1/FMW_Home/webtier/OPatch/opatch lsinventory -invPtrLoc /data05/ORADEV/fs1/FMW_Home/webtier/oraInst.loc -oh /data05/ORADEV/fs1/FMW_Home/webtier -detail -jdk /data05/ORADEV/fs1/FMW_Home/webtier/jdk
ERRORCODE = 1 ERRORCODE_END
.end std out.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
*******FATAL ERROR*******
PROGRAM : (/data05/ORADEV/fs1/EBSapps/appl/fnd/12.0.0/patch/115/bin/txkSetConfig.pl)
TIME : Fri Apr 10 18:54:03 2015
FUNCTION: [ Level 1 ]
ERRORMSG: *******FATAL ERROR*******
PROGRAM : (/data05/ORADEV/fs1/EBSapps/appl/fnd/12.0.0/patch/115/bin/txkSetConfig.pl)
TIME : Fri Apr 10 18:54:03 2015
FUNCTION: TXK::Process::run [ Level 3 ]
MESSAGES:
Command error: <rc> = 18688, <command> = /data05/ORADEV/fs1/FMW_Home/webtier/OPatch/opatch lsinventory -invPtrLoc /data05/ORADEV/fs1/FMW_Home/webtier/oraInst.loc -oh /data05/ORADEV/fs1/FMW_Home/webtier -detail -jdk /data05/ORADEV/fs1/FMW_Home/webtier/jdk
STACK TRACE
at /data05/ORADEV/fs1/EBSapps/appl/au/12.0.0/perl/TXK/Error.pm line 168
TXK::Error::abort('TXK::Error', 'HASH(0x11be2b8)') called at /data05/ORADEV/fs1/EBSapps/appl/au/12.0.0/perl/TXK/Common.pm line 299
TXK::Common::doError('TXK::Process=HASH(0x2830f48)', 'Command error: <rc> = 18688, <command> = /data05/ORADEV/fs1/F...', undef) called at /data05/ORADEV/fs1/EBSapps/appl/au/12.0.0/perl/TXK/Common.pm line 314
TXK::Common::setError('TXK::Process=HASH(0x2830f48)', 'Command error: <rc> = 18688, <command> = /data05/ORADEV/fs1/F...') called at /data05/ORADEV/fs1/EBSapps/appl/au/12.0.0/perl/TXK/Process.pm line 449
TXK::Process::run('TXK::Process=HASH(0x2830f48)', 'HASH(0x1c1a8b0)') called at /data05/ORADEV/fs1/EBSapps/appl/au/12.0.0/perl/TXK/Techstack.pm line 5974
TXK::Techstack::_txkCheckIASVersion('TXK::Techstack=HASH(0x2221df0)', undef) called at /data05/ORADEV/fs1/EBSapps/appl/au/12.0.0/perl/TXK/Techstack.pm line 5876
TXK::Techstack::txkCheckIASVersion('TXK::Techstack=HASH(0x2221df0)') called at /data05/ORADEV/fs1/EBSapps/appl/fnd/12.0.0/patch/115/bin/txkSetConfig.pl line 233
main::getIASOracleHomeVersion() called at /data05/ORADEV/fs1/EBSapps/appl/fnd/12.0.0/patch/115/bin/txkSetConfig.pl line 98
eval {...} called at /data05/ORADEV/fs1/EBSapps/appl/fnd/12.0.0/patch/115/bin/txkSetConfig.pl line 77In the time I've spent debugging, I've been checking very carefully to ensure the connection isn't being closed (and that it's being opened), but I'll double check next time I get the chance. I highly doubt that Labview is releasing the connection on its own, because there are various connections to devices on the other computer that are kept the same way, and the code of the two machines is very similar.
As far as the details leading up to the error, basically there is an initialization state in the main code, which opens all the necessary connections. The code does not leave this state until the TCP connection has been established with the other computer. The code then sends commands to the other computer via UDP to either tell it to take data or to see if the data has been already taken. Once it has been detected that the data has been taken, the code tries to read the data over the TCP connection after sending the command to the other computer to send it. The other computer is receiving the send command, and seems to think that the data is being sent with no problems. The TCP connection is never closed until an exit button is clicked in the program. So unless Labview is dropping the connection of its own accord while the other actions are being taken, connecting with the program and trying to use it to read data should be all that is necessary to generate the error.
I should get a chance to do more testing tomorrow, so I'll post what I come up with then.
Thanks for the suggestions!
-Steve -
http://www.ononesoftware.com/detail.php?prodLine_id=11
Pricey, but possibly worth it to some folks, especially if the masking tool works as well as in their tutorial.There are many, many useful add-ons for PSE. It can use most PS plug-ins, for one thing, and you can add layer styles, shapes, brushes, etc., as well as some actions. There are also add-on tool sets, mostly based on actions. Installation varies from easy to very, very confusing (unless you're at home in XML writing). Since you're using windows you might want to investigate Graffi's add-o-matic, which does installs for you.
-
Hello,
On Adobe Labs we have provided a sneak peek at many of the new features we've been working on in Workbench. They are all compatible with ES2. You can find more information on Adobe Labs at: http://labs.adobe.com/technologies/lcworkbench_addons/
These Add-ons are a "Labs" preview of some of the new improvements we're currently working on. It is not a formal Service Pack, so try to use it in a Sandbox environment that is not mission critical .We'd really like to get some feedback from you on our new features (and any more ideas & suggestions you might have) over in the Labs forum.
Thank You
Gary.There are many, many useful add-ons for PSE. It can use most PS plug-ins, for one thing, and you can add layer styles, shapes, brushes, etc., as well as some actions. There are also add-on tool sets, mostly based on actions. Installation varies from easy to very, very confusing (unless you're at home in XML writing). Since you're using windows you might want to investigate Graffi's add-o-matic, which does installs for you.
-
Cascading af:selectOneChoice with WebService Call
Hi all,
Use case:
i have 2 selectOneChoice that must retrive data in cascading mode (second selectChoice depends from the fist select value).
The first selectOneChoice call a ws without parameter.
The second selectOneChoice call a second ws passing the first selected value.
I know that i must set Autosubmit = true to the fist selectOneChoice and set partialTrigger on the selectOneChoice to the first id.
My problem is how to call the second ws when i select the item in the first selectOneChoice?
Can you provide and example? Is possible to do this without writing code (aka ManagedBean)?
Thanks in adviceHi,
you wont have control over this. If there were two dependent list entries then it would be the first to be applied when you select a new parent. In general you should be able to de-select the seond "So Selection Item" string as the first, so you may want to verify that. If you need to control over what is set as a default value to the dependent field then you need to set the value as the default value of the attribute I guess
Frank -
Frame 8 and graphic properties
Hi all,
We have had a working application with fm 7.2 and DITA. We use href-attribute in graphic element to store the filepath and rw-rules mapped it to frame file property. When the application was ported to 8 and xml instance was read in, we got edd error: href attribute appeared to structure!!. Frame also mapped the attribute to file property (graphics was correctly displayed). What is funny that other mappings of graphic properties worked corretly, they did not appear as attributes.
Writing out XML in this case causes frame to output href attribute twice.
Has anyone noticed similar behaviour?. Problem can be fixed by defining href in edd (XML writing works ok), but that only masks the problem.
BR, MarttiHi Martti,
I was unable to duplicate this. I set up the following rules for the graphic element and the file property (href attribute) was written correctly and did not translate to markup on import. I am using FM8 without any updates and XML schema instead of a DTD. The schema defines an href attribute and does not define a file attribute. So, maybe there is something going on with the import/export client of your DITA app that you aren't aware of.
Russ
element "image"
is fm graphic element;
attribute "href" is fm property file;
attribute "impsize" is fm property import size;
attribute "impby" is fm property import by reference or copy;
attribute "sideways" is fm property sideways;
attribute "impang" is fm property import angle;
attribute "xoffset" is fm property horizontal offset;
attribute "yoffset" is fm property vertical offset;
attribute "position" is fm property position;
attribute "align" is fm property alignment;
attribute "cropped" is fm property cropped;
attribute "float" is fm property floating;
attribute "width" is fm property width;
attribute "height" is fm property height;
attribute "angle" is fm property angle;
attribute "nsoffset" is fm property near-side offset; -
Reading the Blob and writing it to an external file in an xml tree format
Hi,
We have a table by name clarity_response_log and content of the column(Response_file) is BLOB and we have xml file or xml content in that column. Most probably the column or table may be having more than 5 records and hence we need to read the corresponding blob content and write to an external file.
CREATE TABLE CLARITY_RESPONSE_LOG
REQUEST_CODE NUMBER,
RESPONSE_FILE BLOB,
DATE_CRATED DATE NOT NULL,
CREATED_BY NUMBER NOT NULL,
UPDATED_BY NUMBER DEFAULT 1,
DATE_UPDATED VARCHAR2(20 BYTE) DEFAULT SYSDATE
)The xml content in the insert statement is very small because of some reason and cannot be made public and indeed we have a very big xml file stored in the BLOB column or Response_File column
Insert into CLARITY_RESPONSE_LOG
(REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
Values
(5, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');
Insert into CLARITY_RESPONSE_LOG
(REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
Values
(6, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');
Insert into CLARITY_RESPONSE_LOG
(REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
Values
(7, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');
Insert into CLARITY_RESPONSE_LOG
(REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
Values
(8, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');
Insert into CLARITY_RESPONSE_LOG
(REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
Values
(9, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');THe corresponding proc for reading the data and writing the data to an external file goes something like this
SET serveroutput ON
DECLARE
vstart NUMBER := 1;
bytelen NUMBER := 32000;
len NUMBER;
my_vr RAW (32000);
x NUMBER;
l_output UTL_FILE.FILE_TYPE;
BEGIN
-- define output directory
l_output :=
UTL_FILE.FOPEN ('CWFSTORE_RESPONCE_XML', 'extract500.txt', 'wb', 32760);
vstart := 1;
bytelen := 32000;
---get the Blob locator
FOR rec IN (SELECT response_file vblob
FROM clarity_response_log
WHERE TRUNC (date_crated) = TRUNC (SYSDATE - 1))
LOOP
--get length of the blob
len := DBMS_LOB.getlength (rec.vblob);
DBMS_OUTPUT.PUT_LINE (len);
x := len;
---- If small enough for a single write
IF len < 32760
THEN
UTL_FILE.put_raw (l_output, rec.vblob);
UTL_FILE.FFLUSH (l_output);
ELSE
-------- write in pieces
vstart := 1;
WHILE vstart < len AND bytelen > 0
LOOP
DBMS_LOB.READ (rec.vblob, bytelen, vstart, my_vr);
UTL_FILE.put_raw (l_output, my_vr);
UTL_FILE.FFLUSH (l_output);
---------------- set the start position for the next cut
vstart := vstart + bytelen;
---------- set the end position if less than 32000 bytes
x := x - bytelen;
IF x < 32000
THEN
bytelen := x;
END IF;
UTL_FILE.NEW_LINE (l_output);
END LOOP;
----------------- --- UTL_FILE.NEW_LINE(l_output);
END IF;
END LOOP;
UTL_FILE.FCLOSE (l_output);
END;The above code works well and all the records or xml contents are being written simultaneously adjacent to each other but we each records must be written to a new line or there must be a line gap or a blank line between any two records
the code which I get is as follow all all xml data comes on a single line
<?xml version="1.0" encoding="ISO-8859-1"?><emp><empno>7369</empno><ename>James</ename><job>Manager</job><salary>1000</salary></emp><?xml version="1.0" encoding="ISO-8859-1"?><emp><empno>7370</empno><ename>charles</ename><job>President</job><salary>500</salary></emp>But the code written to an external file has to be something like this.
<?xml version="1.0" encoding="ISO-8859-1"?>
<emp>
<empno>7369</empno>
<ename>James</ename>
<job>Manager</job>
<salary>1000</salary>
</emp>
<?xml version="1.0" encoding="ISO-8859-1"?>
<emp>
<empno>7370</empno>
<ename>charles</ename>
<job>President</job>
<salary>500</salary>
</emp>Please adviceWhat was wrong with the previous answers given on your other thread:
Export Blob data to text file(-29285-ORA-29285: file write error)
If there's a continuing issue, stay with the same thread, don't just ask the same question again and again, it's really Pi**es people off and causes confusion as not everyone will be familiar with what answers you've already had. You're just wasting people's time by doing that.
As already mentioned before, convert your BLOB to a CLOB and then to XMLTYPE where it can be treated as XML and written out to file in a variety of ways including the way I showed you on the other thread.
You really seem to be struggling to get the worst possible way to work. -
"PLS-00172: string literal too long" When Writing XML file into a Table
Hi.
I'm using DBMS_XMLStore to get a XML file into a db table. See the example below, I'm using that for my PL/SQL format. Problem is that because there're too many XML elements that I use in "xmldoc CLOB:= ...", I get "PLS-00172: string literal too long" error.
Can someone suggest a workaround?
THANKS!!!
DECLARE
insCtx DBMS_XMLStore.ctxType;
rows NUMBER;
xmldoc CLOB :=
'<ROWSET>
<ROW num="1">
<EMPNO>7369</EMPNO>
<SAL>1800</SAL>
<HIREDATE>27-AUG-1996</HIREDATE>
</ROW>
<ROW>
<EMPNO>2290</EMPNO>
<SAL>2000</SAL>
<HIREDATE>31-DEC-1992</HIREDATE>
</ROW>
</ROWSET>';
BEGIN
insCtx := DBMS_XMLStore.newContext('scott.emp'); -- get saved context
DBMS_XMLStore.clearUpdateColumnList(insCtx); -- clear the update settings
-- set the columns to be updated as a list of values
DBMS_XMLStore.setUpdateColumn(insCtx,'EMPNO');
DBMS_XMLStore.setUpdateColumn(insCtx,'SAL');
DBMS_XMLStore.setUpdatecolumn(insCtx,'HIREDATE');
-- Now insert the doc.
-- This will only insert into EMPNO, SAL and HIREDATE columns
rows := DBMS_XMLStore.insertXML(insCtx, xmlDoc);
-- Close the context
DBMS_XMLStore.closeContext(insCtx);
END;
/You ask where am getting the XML doc. Well, am not
getting the doc itself.I either don't understand or I disagree. In your sample code, you're certainly creating an XML document-- your local variable "xmldoc" is an XML document.
DBMS_XMLSTORE package needs
to know the canonical format and that's what I
hardcoded. Again, I either don't understand or I disagree... DBMS_XMLStore more or less assumes the format of the XML document itself-- there's a ROWSET tag, a ROW tag, and a then whatever column tags you'd like. You can override what tag identifies a row, but the rest is pretty much assumed. Your calls to setUpdateColumn identifies what subset of column tags in the XML document you're interested in.
Later in code I use
DBMS_XMLStore.setUpdateColumn to specify which
columns are to be inserted.Agreed.
xmldoc CLOB :=
'<ROWSET>
<ROW num="1">
<KEY_OLD> Smoker </KEY_OLD>
<KEY_NEW> 3 </KEY_NEW>
<TRANSFORM> Specified </TRANSFORM>
<KEY_OLD> Smoker </KEY_OLD>
<VALUEOLD> -1 </VALUEOLD>
EW> -1 </VALUENEW>
<DESCRIPTION> NA </DESCRIPTION>
</ROW>
ROWSET>';This is your XML document. You almost certainly want to be reading this from the file system and/or have it passed in from another procedure. If you hard-code the XML document, you're limited to a 32k string literal, which is almost certainly causing the error you were reporting initially.
As am writing this I'm realizing that I'm doing this
wrong, because I do need to read the XML file from
the filesystem (but insert the columns
selectively)...What I need to come up with is a proc
that would grab the XML file and do inserts into a
relational table. The XML file will change in the
future and that means that all my 'canonical format'
code will be broken. How do I deal with anticipated
change? Do I need to define/create an XML schema in
10g if am just inserting into one relat. table from
one XML file?What does "The XML file will change in the future" mean? Are you saying that the structure of the XML document will change? Or that the data in the XML document would change? Your code should only need to change if the structure of the document changes, which should be exceptionally uncommon and would only be an issue if you're adding another column that you want to work with, which would necessitate code changes.
I found an article where the issue of changing XML
file is dealt by using a XSL file (that's where I'd
define the 'canonical format'), but am having a
problem with creating one, because the source XML is
screwed up in terms of the format:
it's not <x> blah </x>
<x2> blah </x2>
x2="blah" x3="blah> ...etc
Can you point me in the right direction, please?You can certainly use something like the DBMS_XSLProcessor package to transform whatever XML document you have into an XML document in an appropriate format for the XMLStore package and pass that transformed XML document into something like your sample procedure rather than defining the xmldoc local variable with a hard-coded document. Of course, you'd need to write appropriate XSL code to do the actual transform.
Justin
Maybe you are looking for
-
Hi i'm Alex and im having problems setting up my email and bbm on my blackberry curve 8520. i'm with orange as a dolphin plan and just wondering if any one can help set up my bbm and enterprise Activation Password.
-
Is it possible to insert numerical indicators in 3D picture
Hello, Let's say I have a *.wrl file which contains a room drawing. Take into account that I know how manipulate the SceneObject and display it into 3D picture. Is it possible to position different temperature indicators (numerical indicators) in t
-
Hi I just downloaded the trial to see how much quicker cs5 is to cs4 but I cant open any of my cs4 projects? Is this not possible or is this just because I have the trial version. Also some videos I imported dont have audio attached, wierd.
-
Location Service set me in the wrong place
I recently moved from from LA to Las Vegas, and when I installed my network (3 Airport Express) then my MBP (retina 2012) OS 10.10.2 are keep on telling me that my location is in LA (my previous address). Interesting though is when I am Safari and ot
-
I'm stuck at the sent messages display and I need to see my inbox
When I start my computer and click on the Thunderbird icon the screen that is displayed is the list of sent messages. I am unable to change this screen. I did touch the GO at the top of the page and from there I saw the in box and trash but could not