XML export, while applying XSLT, gives a jumbled mess
From InDesign, I export to XML and apply an XSLT which transforms it into HTML. Trying to edit the document is almost impossible because the whole thing is a few giant lines of code.
What's going on with this behaviour?
Can Dreamweaver view it correctly?
My two cents:
Recently I wrote a script that creates xml structure in a document by performing a number of find-replace GREP operations instead of using map styles to tags or manual tagging.
One of the problems I encountered was the following: if an element contained more than one paragraph, all returns disappeared after exporting to xml file. I solved this by writing an xml-rule that adds <p> tags so a browser displays them as separate paragraphs.
if (gDoc.xmlTags.item("p") != null) {
gParTag = gDoc.xmlTags.item("p");
else {
gParTag = gDoc.xmlTags.add("p");
var ruleSet = new Array ( new ProcessParagraphs, new ProcessImageAttributes ); // new ProcessParagraphs, new ProcessImageAttributes
with(gDoc){
var elements = xmlElements;
__processRuleSet(elements.item(0), ruleSet);
function ProcessParagraphs() {
gWinText1.text = "Adding paragraph returns";
gWinText2.text = "";
var theParagraph, fistCharIndex, fistChar, lastChar, text;
this.name = "ProcessParagraphs";
if (gVariant == 3) {
this.xpath = "/Root/AvisosPublicados/Rubro/Subrubro/Aviso/*";
else {
this.xpath = "/Root/Rubro/Aviso/*";
this.apply = function(theElement, theRuleProcessor) {
with(theElement) {
//$.writeln("#" + gElCounter + " - Element Name = " + theElement.markupTag.name + " - " + theElement.paragraphs.length + " pars");
//gElCounter++;
if (theElement.paragraphs.length > 1) {
for (var i = 0; i < theElement.paragraphs.length; i++) {
theParagraph = theElement.paragraphs[i];
//$.writeln( "\t" + gCounter + "/" + i + " - " + theElement.markupTag.name + " - " + theParagraph.associatedXMLElements[0].markupTag.name + " - " + theParagraph.contents );
if (theParagraph.associatedXMLElements[0].markupTag.name != "Tabla") {
fistCharIndex = 0;
lastCharIndex = -2;
try {
while (theParagraph.characters[fistCharIndex].contents.constructor.name == "Number" || theParagraph.characters[fistCharIndex].contents.charCodeAt(0) == 65279) {
fistCharIndex++;
while (theParagraph.characters[lastCharIndex].contents.constructor.name == "Number" || theParagraph.characters[lastCharIndex].contents.charCodeAt(0) == 65279) {
lastCharIndex--;
catch(err) {
//$.writeln("\tError (fist/lastCharIndex++) = " + err);
continue;
//$.writeln("\tfist/last = " + fistCharIndex + "/" + lastCharIndex);
fistChar = theParagraph.characters[fistCharIndex];
lastChar = theParagraph.characters[lastCharIndex];
text = theParagraph.texts.itemByRange( fistChar, lastChar )
//$.writeln(gCounter + "/" + i + " - " + theElement.markupTag.name + " - " + text.contents);
theElement.xmlElements.add( gParTag, text );
//~ gCounter++;
return true;
I also wrote a function that removes undesirable stuff from the resulting xml file, including entities (I don’t know the reason why, but my client asked me to remove them)
function ProcessXmlFile(file) {
gWinText1.text = "Processing the XML file";
gWinText2.text = "";
file.open("r");
var txt = file.read();
file.close();
txt = txt.replace(/̶(0|1);/g, "\""); // Double left and right quotation marks ==> "
gWinText2.text = "Double left and right quotation marks";
txt = txt.replace(/̵(6|7);/g, "'"); // Single left and right quotation marks ==> '
gWinText2.text = "Single left and right quotation marks";
txt = txt.replace(/–/g, "–"); // En dash ==> – Alt+0150
gWinText2.text = "En dash";
txt = txt.replace(/—/g, "—"); // Em dash ==> — Alt+0151
gWinText2.text = "Em dash";
txt = txt.replace(/•/g, "•"); // Bullet ==> • Alt+0149
gWinText2.text = "Bullet";
txt = txt.replace(/©/g, "©"); // Copyright ==> © Alt+0169
gWinText2.text = "Copyright";
txt = txt.replace(/…/g, "…"); // Ellipsis ==> … Alt+0133
gWinText2.text = "Ellipsis";
txt = txt.replace(/¶/g, "¶"); // Pilcrow (paragraph) ==> ¶ Alt+0182
gWinText2.text = "Pilcrow";
txt = txt.replace(/®/g, "®"); // Registered trademark ==> ® Alt+0174
gWinText2.text = "Registered trademark";
txt = txt.replace(/§/g, "§"); // Registered trademark ==> § Alt+0167
gWinText2.text = "Registered trademark";
txt = txt.replace(/™/g, "™"); // Trademark ==> ™ Alt+0153
gWinText2.text = "Trademark";
file.open("w");
file.encoding = "UTF-8";
file.write(txt);
file.close();
Similar Messages
-
XML Parser for Java v2. Applying XSLT to DOM tree
I encountered pretty weird behavior of XML Parser for Java v2.
While applying XSLT to XML document created in memory using DOM
interface I couldn't access element attributes. For example,
given the XML document:
<root>
<Item ID="00001">Value of Item 00001</Item>
<Item ID="00002">Value of Item 00002</Item>
</root>
and XSLT:
<xsl:template match="/">
<HTML>
<HEAD>
<TITLE>XSLT Test</TITLE>
</HEAD>
<BODY>
<xsl:for-each select="/Error">
<H1>Error</H1><xsl:value-of select="."/>
</xsl:for-each>
<TABLE border="0" cellspacing="0" cellpadding="2">
<TBODY>
<xsl:for-each select="/root">
<TR>
<TH style="background-color:khaki">
<xsl:text>Attribute</xsl:text>
</TH>
<TH style="background-color:khaki">
<xsl:text>Value</xsl:text>
</TH>
</TR>
<xsl:for-each select="Item">
<TR>
<TD><xsl:value-of select="@ID"/></TD>
<TD><xsl:value-of select="."/></TD>
</TR>
</xsl:for-each>
</xsl:for-each>
</TBODY>
</TABLE>
</BODY>
</HTML>
</xsl:template>
If I build DOM tree by parsing XML file the resulting HTML
document after applying XSLT will display
Attribute Value
00001 Value of Item 00001
00002 Value of Item 00002
But if I build DOM tree using following code:
XMLDocument xDoc = new XMLDocument();
Element root = xDoc.createElement( "root" );
xDoc.appendChild( root );
Element elem = xDoc.createElement( "Item" );
elem.setAttribute( "ID", "00001" );
root.appendChild( elem ).
appendChild( xDoc.createTextNode( "Value of Item 00001" ) );
elem = xDoc.createElement( "Item" );
elem.setAttribute( "ID", "00002" );
root.appendChild( elem )
.appendChild( xDoc.createTextNode( "Value of Item 00002" ) );
the same XSLT will produce the following HTML output:
Attribute Value
Value of Item 00001
Value of Item 00002
So the value for the ID attribute is not displayed. At the same
time I can access this attribute using DOM interface. For
example, following code
NodeList nList = xDoc.getElementsByTagName( "Item" );
Element e;
for( int i = 0; i < nList.getLength(); i++ )
e = (Element)nList.item( i );
System.out.println( "ID: " + e.getAttribute( "ID" ) );
produces an output
ID: 00001
ID: 00002
Here is the code for applying XSLT to DOM tree:
DOMParser parser = new DOMParser();
parser.parse( new FileInputStream( "test.xsl" ) );
XMLDocument xsldoc = parser.getDocument();
XSLStylesheet xsl = new XSLStylesheet( xsldoc, createURL( "" ) );
XMLDocument out = new XMLDocument();
out.appendChild( new XSLProcessor().processXSL(xsl, xDoc) );
out.print( new FileOutputStream( "test.html" ) );
Andrei Filimonov
nullWe are not getting what you're getting on Solaris. See the
following:
Script started on Tue Jun 22 18:53:56 1999
Processing /view/test/vobs/oracore3/.ndeprodrc.csh
Processing /private/.nderc.csh
[test] > cat bruno.xml
<my_grandpa age="88">
<my_dad age="66">
<me age="44">
<my_son age="22">
</my_son>
</me>
</my_dad>
</my_grandpa>
[test] > cat bruno.xsl
<?xml version="1.0"?>
<!-- Identity transformation -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">
<xsl:template match="me">
<xsl:value-of select="my_son/@age"/>
<xsl:value-of select="@age"/>
<xsl:value-of select="../@age"/>
<xsl:value-of select="../../@age"/>
</xsl:template>
</xsl:stylesheet>
[test] > java XSLSample bruno.xsl bruno.xml
<root>
22446688
</root>
[test] > exit
script done on Tue Jun 22 18:54:22 1999
What platform are you on and does your stylesheet and xml doc
match ours?
Oracle XML Team
http://technet.oracle.com
Oracle Technology Network
Bruno Bontempi (guest) wrote:
: I had a similar problem in accessing element attributes from
an
: XSLT sheet.
: It seems like the processor correctly accesses element
attributes
: in the context node, but does not retrieve values of
attributes
: outside the context node.
: For example, for an XML document like:
: <my_grandpa age="88">
: <my_dad age="66">
: <me age="44">
: <my_son age="22">
: </my_son>
: </me>
: </my_dad>
: </my_grandpa>
: and an XSL stylesheet like:
: <xsl:template match="me">
: <xsl:value-of select="my_son/@age"/>
: <xsl:value-of select="@age"/>
: <xsl:value-of select="../@age"/>
: <xsl:value-of select="../../@age"/>
: </xsl:template>
: I expect an output like:
: 22446688
: but all I get is
: 44
: I am also using Jim Clark's XT, which is returning the
expected
: result.
: Thanks in advance for your help,
: Bruno.
: Andrei Filimonov (guest) wrote:
: : I encountered pretty weird behavior of XML Parser for Java
v2.
: : While applying XSLT to XML document created in memory using
DOM
: : interface I couldn't access element attributes. For example,
: : given the XML document:
: : <root>
: : <Item ID="00001">Value of Item 00001</Item>
: : <Item ID="00002">Value of Item 00002</Item>
: : </root>
: : and XSLT:
: : <xsl:template match="/">
: : <HTML>
: : <HEAD>
: : <TITLE>XSLT Test</TITLE>
: : </HEAD>
: : <BODY>
: : <xsl:for-each select="/Error">
: : <H1>Error</H1><xsl:value-of select="."/>
: : </xsl:for-each>
: : <TABLE border="0" cellspacing="0" cellpadding="2">
: : <TBODY>
: : <xsl:for-each select="/root">
: : <TR>
: : <TH style="background-color:khaki">
: : <xsl:text>Attribute</xsl:text>
: : </TH>
: : <TH style="background-color:khaki">
: : <xsl:text>Value</xsl:text>
: : </TH>
: : </TR>
: : <xsl:for-each select="Item">
: : <TR>
: : <TD><xsl:value-of select="@ID"/></TD>
: : <TD><xsl:value-of select="."/></TD>
: : </TR>
: : </xsl:for-each>
: : </xsl:for-each>
: : </TBODY>
: : </TABLE>
: : </BODY>
: : </HTML>
: : </xsl:template>
: : If I build DOM tree by parsing XML file the resulting HTML
: : document after applying XSLT will display
: : Attribute Value
: : 00001 Value of Item 00001
: : 00002 Value of Item 00002
: : But if I build DOM tree using following code:
: : XMLDocument xDoc = new XMLDocument();
: : Element root = xDoc.createElement( "root" );
: : xDoc.appendChild( root );
: : Element elem = xDoc.createElement( "Item" );
: : elem.setAttribute( "ID", "00001" );
: : root.appendChild( elem ).
: : appendChild( xDoc.createTextNode( "Value of Item
00001" )
: : elem = xDoc.createElement( "Item" );
: : elem.setAttribute( "ID", "00002" );
: : root.appendChild( elem )
: : .appendChild( xDoc.createTextNode( "Value of Item
00002" )
: : the same XSLT will produce the following HTML output:
: : Attribute Value
: : Value of Item 00001
: : Value of Item 00002
: : So the value for the ID attribute is not displayed. At the
same
: : time I can access this attribute using DOM interface. For
: : example, following code
: : NodeList nList = xDoc.getElementsByTagName( "Item" );
: : Element e;
: : for( int i = 0; i < nList.getLength(); i++ )
: : e = (Element)nList.item( i );
: : System.out.println( "ID: " + e.getAttribute( "ID" ) );
: : produces an output
: : ID: 00001
: : ID: 00002
: : Here is the code for applying XSLT to DOM tree:
: : DOMParser parser = new DOMParser();
: : parser.parse( new FileInputStream( "test.xsl" ) );
: : XMLDocument xsldoc = parser.getDocument();
: : XSLStylesheet xsl = new XSLStylesheet( xsldoc, createURL
: : XMLDocument out = new XMLDocument();
: : out.appendChild( new XSLProcessor().processXSL(xsl, xDoc) );
: : out.print( new FileOutputStream( "test.html" ) );
: : Andrei Filimonov
null -
How to apply XSLT to XML file while importing XML data using XSU plsql API
I need to load XML file with nested repeating elements into Oracle tables and I am using XSU PLSQL API utility package dbms_xmlSave.insertXML. Can use XMLGen package also!!
I found out through documentation that I need to have XML file with ROWSET/ROW tags around the elements. As I have no control of XML file coming from external source, so I wish to apply XSLT to XML. I found setXSLT/setStylesheet procedures but it's not working as expected.
Can you help me with some sample code for the purpose.
ThanksI'm new at XML and XSL as well, but maybe the following code I built can help:
CREATE OR REPLACE PACKAGE Xml_Pkg AS
/* this record and table type are used for the transformTags procedure */
TYPE TagTransform_t IS RECORD (
old_tag VARCHAR2(255),
new_tag VARCHAR2(255) );
TYPE TagTransformList_t IS TABLE OF TagTransform_t INDEX BY BINARY_INTEGER;
/* use DBMS_OUTPUT to print out a CLOB */
PROCEDURE printClobOut(p_clob IN OUT NOCOPY CLOB);
/* using a list of old/new tags, transform all old into new in XML2 */
PROCEDURE transformTags(
p_List TagTransformList_t,
p_XML1 IN OUT NOCOPY CLOB,
p_XML2 IN OUT NOCOPY CLOB);
END Xml_Pkg;
CREATE OR REPLACE PACKAGE BODY Xml_Pkg AS
/* print a CLOB using newlines */
PROCEDURE printClobOut(p_clob IN OUT NOCOPY CLOB) IS
buffer_overflow EXCEPTION;
PRAGMA EXCEPTION_INIT(buffer_overflow,-20000);
l_offset NUMBER;
l_len NUMBER;
l_o_buf VARCHAR2(255);
l_amount NUMBER; --}
l_f_amt NUMBER := 0; --}To hold the amount of data
l_f_amt2 NUMBER; --}to be read or that has been
l_amt2 NUMBER := -1; --}read
l_offset2 NUMBER;
l_amt3 NUMBER;
l_chk NUMBER := 255;
BEGIN
l_len := DBMS_LOB.GETLENGTH(p_clob);
l_offset := 1;
WHILE l_len > 0 LOOP
l_amount := DBMS_LOB.INSTR(p_clob,CHR(10),l_offset,1);
--Amount returned is the count from the start of the file,
--not from the offset.
IF l_amount = 0 THEN
--No more linefeeds so need to read remaining data.
l_amount := l_len;
l_amt2 := l_amount;
ELSE
l_f_amt2 := l_amount; --Store position of next LF
l_amount := l_amount - l_f_amt; --Calc position from last LF
l_f_amt := l_f_amt2; --Store position for next time
l_amt2 := l_amount - 1; --Read up to but not the LF
END IF;
/* divide the read into 255 character chunks for dbms_output */
IF l_amt2 != 0 THEN
l_amt3 := l_amt2;
l_offset2 := l_offset;
WHILE l_amt3 > l_chk LOOP
DBMS_LOB.READ(p_clob,l_chk,l_offset2,l_o_buf);
DBMS_OUTPUT.PUT_LINE(l_o_buf);
l_amt3 := l_amt3 - l_chk;
l_offset2 := l_offset2 + l_chk;
END LOOP;
IF l_amt3 != 0 THEN
DBMS_LOB.READ(p_clob,l_amt3,l_offset2,l_o_buf);
DBMS_OUTPUT.PUT_LINE(l_o_buf);
END IF;
END IF;
l_len := l_len - l_amount;
l_offset := l_offset+l_amount;
END LOOP;
EXCEPTION
WHEN buffer_overflow THEN
RETURN;
END printClobOut;
/* shortcut "writeline" procedure for CLOB buffer writes */
PROCEDURE wr(p_clob IN OUT NOCOPY CLOB, s VARCHAR2) IS
BEGIN
DBMS_LOB.WRITEAPPEND(p_clob,LENGTH(s)+1,s||CHR(10));
END;
/* the standard XSLT should include the identity template or the output XML will be malformed */
PROCEDURE newXsltHeader(p_xsl IN OUT NOCOPY CLOB, p_identity_template BOOLEAN DEFAULT TRUE) IS
BEGIN
DBMS_LOB.TRIM(p_xsl,0);
/* standard XSL header */
wr(p_xsl,'<?xml version="1.0"?>');
/* note that the namespace for the xsl is restricted to the w3 1999/XSL */
wr(p_xsl,'<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">');
IF p_identity_template THEN
/* create identity template (transfers all "other" nodes) */
wr(p_xsl,' <xsl:template match="node()">');
wr(p_xsl,' <xsl:copy>');
wr(p_xsl,' <xsl:apply-templates/>');
wr(p_xsl,' </xsl:copy>');
wr(p_xsl,' </xsl:template>');
END IF;
END newXsltHeader;
PROCEDURE newXsltFooter(p_xsl IN OUT NOCOPY CLOB) IS
BEGIN
/* standard xsl footer */
wr(p_xsl,'</xsl:stylesheet>');
END newXsltFooter;
/* using the stylesheet in p_xsl, transform p_XML1 into p_XML2 */
PROCEDURE transformXML(p_xsl IN OUT NOCOPY CLOB, p_XML1 IN OUT NOCOPY CLOB, p_XML2 IN OUT NOCOPY CLOB) IS
l_parser XMLPARSER.Parser;
l_doc XMLDOM.DOMDocument;
l_xsl_proc XSLPROCESSOR.Processor;
l_xsl_ss XSLPROCESSOR.Stylesheet;
BEGIN
/* parse XSL CLOB */
l_parser := XMLPARSER.newParser;
BEGIN
XMLPARSER.showWarnings(l_parser,TRUE);
XMLPARSER.parseClob(l_parser,p_xsl);
l_doc := XMLPARSER.getDocument(l_parser);
XMLPARSER.freeParser(l_parser);
EXCEPTION
WHEN OTHERS THEN
XMLPARSER.freeParser(l_parser);
RAISE;
END;
/* get Stylesheet from DOMDOC */
l_xsl_ss := XSLPROCESSOR.newStylesheet(l_doc,NULL);
BEGIN
/* parse XML1 CLOB */
l_parser := XMLPARSER.newParser;
BEGIN
XMLPARSER.showWarnings(l_parser,TRUE);
XMLPARSER.parseClob(l_parser,p_xml1);
l_doc := XMLPARSER.getDocument(l_parser);
XMLPARSER.freeParser(l_parser);
EXCEPTION
WHEN OTHERS THEN
XMLPARSER.freeParser(l_parser);
RAISE;
END;
/* process doc to XML2 */
l_xsl_proc := XSLPROCESSOR.newProcessor;
BEGIN
XSLPROCESSOR.processXSL(l_xsl_proc, l_xsl_ss, l_doc, p_xml2);
XSLPROCESSOR.freeProcessor(l_xsl_proc);
EXCEPTION
WHEN OTHERS THEN
XSLPROCESSOR.freeProcessor(l_xsl_proc);
RAISE;
END;
XSLPROCESSOR.freeStylesheet(l_xsl_ss);
EXCEPTION
WHEN OTHERS THEN
XSLPROCESSOR.freeStylesheet(l_xsl_ss);
RAISE;
END;
END transformXML;
/* transform XML1 into XML2 using list p_List of old/new tags */
PROCEDURE transformTags(p_List TagTransformList_t, p_XML1 IN OUT NOCOPY CLOB, p_XML2 IN OUT NOCOPY CLOB) IS
l_xsl CLOB;
BEGIN
/* create XSL CLOB */
DBMS_LOB.CREATETEMPORARY(l_xsl,TRUE);
/* create standard header with identity template */
newXsltHeader(l_xsl,TRUE);
/* create one template for each node translation */
FOR i IN 1..p_List.COUNT LOOP
wr(l_xsl,' <xsl:template match="'||p_List(i).old_tag||'">');
wr(l_xsl,' <'||p_List(i).new_tag||'><xsl:apply-templates/></'||p_List(i).new_tag||'>');
wr(l_xsl,' </xsl:template>');
END LOOP;
/* create standard footer */
newXsltFooter(l_xsl);
-- dbms_output.put_line('l_xsl:');
-- dbms_output.put_line('--------------------');
-- printClobOut(l_xsl);
-- dbms_output.put_line('--------------------');
transformXML(l_xsl, p_XML1, p_XML2);
DBMS_LOB.FREETEMPORARY(l_xsl);
/* -- unit testing
set serveroutput on size 100000
Declare
queryContext DBMS_XMLQUERY.ctxType;
xList XML_PKG.TagTransformList_t;
xmlCLOB CLOB;
xmlCLOB2 CLOB;
Begin
DBMS_LOB.CREATETEMPORARY(xmlCLOB,true);
DBMS_LOB.CREATETEMPORARY(xmlCLOB2,true);
xList(1).old_tag := 'A';
xList(1).new_tag := 'MyTag1';
xList(2).old_tag := 'B';
xList(2).new_tag := 'MyTag2';
queryContext := DBMS_XMLQUERY.newContext('Select * from t');
xmlCLOB := DBMS_XMLQUERY.getXML(queryContext);
DBMS_XMLQuery.closeContext(queryContext);
dbms_output.put_line('xmlCLOB:');
dbms_output.put_line('--------------------');
XML_PKG.printClobOut(xmlCLOB);
dbms_output.put_line('--------------------');
xml_pkg.transformTags(xList,xmlCLOB,xmlCLOB2);
dbms_output.put_line('xml2CLOB:');
dbms_output.put_line('--------------------');
XML_PKG.printClobOut(xmlCLOB2);
dbms_output.put_line('--------------------');
DBMS_LOB.FREETEMPORARY(xmlCLOB);
DBMS_LOB.FREETEMPORARY(xmlCLOB2);
End;
END transformTags;
END Xml_Pkg; -
Apply XSLT while importing the xml to the selected node in structure view
Hi All,
I would like to apply XSLT while importing the xml file to the selected node in the structure view.
How to go about it?
Thanks
SakthiHi All,
Got the solution,
UIDRef documentUIDRef = ::GetUIDRef(activeContext->GetContextDocument());
InterfacePtr<IDocument> document(documentUIDRef, UseDefaultIID());
InterfacePtr<IXMLImportOptionsPool> prefsPool( document->GetDocWorkSpace(), UseDefaultIID() );
InterfacePtr<IK2ServiceRegistry> serviceRegistry(gSession, UseDefaultIID());
InterfacePtr<IK2ServiceProvider> serviceProvider(serviceRegistry->QueryServiceProviderByClassID(kXMLImportMatchMakerSignal Service, kXMLThrowAwayUnmatchedRightMatchMakerServiceBoss));
InterfacePtr<IXMLImportPreferences> prefs(serviceProvider, IID_IXMLIMPORTPREFERENCES);
XMLImportPreferencesInitializer initializer(prefs, prefsPool);
bool16 prefBool = prefs->GetNthPrefAsBool(0);
prefs->SetNthPref(0, kTrue);
The above code set the import option "Delete elements, frames, and content that do not match imported XML"
Thanks
Sakthi -
Error while applying stylesheet - XSLT functions
Hi ,
I have a source XML and applying XSLT on source XML. It works fine from the tool stylus studio. but when i apply that transformation using MII,i get below error.
"Error has occurred during XSL transformation Could not compile stylesheet"
My xsl was working fine but i needed to do a date manipulation..so i have used one function which is in name space xs.
So i have added name space on top of xslt document as . xmlns:xs="http://www.w3.org/2001/XMLSchema"
<xsl:variable name="docdate" select="sch:dateTime" />
<xsl:value-of select="adjust-dateTime-to-timezone(xs:dateTime($docdate))"/>
i have attached xml and xslt ( changed extension while attaching to this post since sdn is allowing xsl extension )
Thanks
HariUpdate: Above function looks to be xslt 2.0 function and thats why MII is blowing up the transformation.
So,Question now is can i use EXSLT functions at least in MII? Does MII XSLT processor supports EXSLT function?
If not,is there any way to get that work like Xalan libraries??
Thanks
Hari -
Getting error while applying BP08 in OIM
While applying BP 08 on OIM I am getting below error.
export-metadata:
[exec] Error: Could not find or load main class oracle.iam.patching\patchAutomationExportMDS
BUILD FAILED
C:\Oracle\Middleware\Oracle_IDM1\server\setup\deploy-files\automation.xml:145: The following error occurred while executing this line:
C:\Oracle\Middleware\Oracle_IDM1\server\setup\deploy-files\automation.xml:53: exec returned: 1
I am following the steps mentioned in "Stage 3: Patching the Oracle Identity Manager Managed Servers" running patch_oim_wls.bat
Please help
Thanks,
GauravSee the below link
Oracle DBA and RAC DBA Expert: Reason: Cannot apply patch due to fatal error & CheckActiveFilesAndExecutables failed
I hope it resolves your issue.
Regards,
http://www.oracleracexpert.com -
Description of elements and attributes in XML export.
Does anyone know where I can get a complete description of all the elements/attributes in the XML export from FCP. I found the DTDs (V 1-3), but it only gives me the names and overall structure. I need to know what the content means.
in particular I want to automate if I can- using XSLT and XSL-FO - the production of standard reporting that I am required to produce (manually) in a documentary production course.its all on Apple's Developer site
http://developer.apple.com/DOCUMENTATION/AppleApplications/Reference/FinalCutPro _XML/index.html -
Error "Failed to apply XSLT to the content."
Hello all
Good Day!
When i am trying to apply my XSLT script to XML Viewer, I'm getting the given below error :
"Failed to apply XSLT to the content".
Kindly need your help.Hi Rachna,
According to your description, my understanding is that the error occurred when you applied XSLT script to XML Viewer web part.
This issue may be caused by a recent published security fix for the .NET Framework 3.5.1.
For SharePoint 2010 there is now a re-released fix out to resolve the problem.
See here for more: KB 2872441 - Microsoft SharePoint applications may encounter errors while executing web
parts.
More reference:
http://blogs.technet.com/b/steve_chen/archive/2013/07/31/3587795.aspx
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
Error in writing to file encountered while applying patch 9.2.0.8
Hi,
I encountered the error message below while applying Oracle 9.2.0.8 patch set using OUI on server running Oracle 9.2.0.7 and Windows 2003 Enterprise Edition SP2:
Error in writing to file 'C:\oracle\ora92\BIN\orapls9.dll'
[C:\oracle\ora92\BIN\orapls9.dll (he process cannot access
the file because it is being used by another process)]
I've already stopped the Oracle instance and services before invoking the setup.exe.
My question is: Why this is happening and what is the resolution to prevent this error from happening?I used the script in the Metalink note 454040.1 and chose 5. I typed in the orapls9.dll to see which module is locking this dll and I found out it is avrrepsvc.exe which is one of the services our application is running. I just stopped it in Services Console and run the setup.exe of the patch. The installaton of patch run successfully. I checked the version using 'select banner from v$version' and I now got this results:
SQL> select banner from v$version;
BANNER
Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
PL/SQL Release 9.2.0.8.0 - Production
CORE 9.2.0.8.0 Production
TNS for 32-bit Windows: Version 9.2.0.8.0 - Production
NLSRTL Version 9.2.0.8.0 - Production
I have a related question. When checking from dba_registry, isn't it that versions of components should have been upgraded too? Please see below I what got:
SQL>SELECT SUBSTR(comp_id,1,15) comp_id, status, SUBSTR(version,1,10)
version, SUBSTR(comp_name,1,30) comp_name
FROM dba_registry ORDER BY 1;
COMP_ID STATUS VERSION COMP_NAME
CATALOG VALID 9.2.0.7.0 Oracle9i Catalog Views
CATJAVA VALID 9.2.0.7.0 Oracle9i Java Packages
CATPROC VALID 9.2.0.7.0 Oracle9i Packages and Types
CONTEXT VALID 9.2.0.7.0 Oracle Text
JAVAVM VALID 9.2.0.7.0 JServer JAVA Virtual Machine
ORDIM VALID 9.2.0.7.0 Oracle interMedia
OWM VALID 9.2.0.1.0 Oracle Workspace Manager
SDO VALID 9.2.0.7.0 Spatial
XDB VALID 9.2.0.7.0 Oracle XML Database
XML VALID 9.2.0.9.0 Oracle XDK for Java
10 rows selected.
What tasks did I missed int the steps?
ADDITION:
It looks like I forgot to run the catpatch.sql and utlrp.sql.
Edited by: user5470917 on Jun 19, 2009 2:52 PM -
Hi All,
I am trying to apply a weblogic patch on SOA server but facing an error while applying the Opatch . I checked the accessibilty to opatch inventory by using the command % opatch lsinventory . This executed fine and there were no errors. But when I try applying the opatch I get the error -that some jars missing . Even if I replace the jars and try executing opatch again I face the same error . I googled a lot but couldnt find any solution . Please let me what can be done for solving this error .
D:\7337034>opatch apply -oh D:\product\10.1.3.1\OracleAS_1
Oracle Interim Patch Installer version 1.0.0.0.61
Copyright (c) 2009 Oracle Corporation. All Rights Reserved..
Oracle recommends you to use the latest OPatch version
and read the OPatch documentation available in the OPatch/docs
directory for usage. For information about the latest OPatch and
other support-related issues, refer to document ID 293369.1
available on My Oracle Support (https://myoraclesupport.oracle.com)
Oracle Home : D:\product\10.1.3.1\OracleAS_1
Oracle Home Inventory : D:\product\10.1.3.1\OracleAS_1\inventory
Central Inventory : C:\Program Files\oracle\inventory
from : N/A
OUI location : D:\product\10.1.3.1\OracleAS_1\oui
OUI shared library : D:\product\10.1.3.1\OracleAS_1\oui\lib\win32\oraInstalle
r.dll
Java location : "D:\product\10.1.3.1\OracleAS_1\jdk\jre\bin\java.exe"
Log file location : D:\product\10.1.3.1\OracleAS_1/.patch_storage/<patch ID>
/*.log
Creating log file "D:\product\10.1.3.1\oracleas_1\.patch_storage\7337034\Apply_7
337034_06-02-2009_13-39-26.log"
Provide your email address to be informed of security issues, install and
initiate Oracle Configuration Manager. Easier for you if you use your My
Oracle Support Email address/User Name.
Visit http://www.oracle.com/support/policies.html for details.
Email address/User Name: [email protected]
Provide your My Oracle Support password to receive security updates via your My
Oracle Support account.
Password (optional):
Password (optional):
Unable to establish a network connection to Oracle. If your systems require a
proxy server for outbound Internet connections, enter the proxy server details
in this format:
[<proxy-user>@]<proxy-host>[:<proxy-port>]
If you want to remain uninformed of critical security issues in your
configuration, enter NONE
Proxy specification: NONE
** Installing base package **
Deploying core - Version 10.3.1.0.0
Deploying engines - Version 10.2.7.1.0
Deploying metricdata - Version 10.2.4.0.3
Deploying scripts - Version 10.3.1.0.0
Oracle Configuration Manager has been configured in disconnected mode. If the
target ORACLE_HOME is running a database, please refer to the
"Post-installation Database Configuration" section of the OCM Installation
and Administration Guide
(http://www.oracle.com/technology/documentation/ocm.html) to complete the
installation.
View configuration data reports and access valuable configuration best
practices by going to My Oracle Support.
Backing up comps.xml ...
OPatch detected non-cluster Oracle Home from the inventory and will patch the lo
cal system only.
Please shut down Oracle instances running out of this ORACLE_HOME
(Oracle Home = d:\product\10.1.3.1\oracleas_1)
Is this system ready for updating?
Please respond Y|N >
y
Applying patch 7337034...
Patching jar files...
OPatch encounters the following issues during file patching:
The following java archives on Windows had problems with being patched:
1. orabpel.jar
[ object: DomainFilter.class ]
2. orabpel.jar
[ object: AdapterFrameworkListenerImpl$RoutingRuleXPathInfo.class ]
3. D:\product\10.1.3.1\oracleas_1\integration\esb\lib\orabpel.jar
[ No java archive file found. ]
4. orabpel.jar
[ Couldn't make backup copy of file. ]
5. D:\product\10.1.3.1\oracleas_1\integration\esb\lib\orabpel.jar
[ No java archive file found. ]
6. orabpel.jar
[ Couldn't make backup copy of file. ]
7. D:\product\10.1.3.1\oracleas_1\integration\esb\lib\orabpel.jar
[ No java archive file found. ]
8. D:\product\10.1.3.1\oracleas_1\integration\esb\lib\orabpel.jar
[ No java archive file found. ]
9. orabpel.jar
[ Couldn't make backup copy of file. ]
Replying 'Y' will terminate the patch installation immediately. It WILL NOT rest
ore any updates that have been performed to this point. It WILL NOT update the i
nventory.
Replying 'N' will update the inventory showing the patch has been applied.
NOTE: After replying either 'Y' or 'N' it is critical to review:
My Oracle Support Note 312767.1 How to rollback a failed Interim patch ins
tallation.
Do you want to STOP?
Please respond Y|N >
y
File Patching Error!
ERROR: OPatch failed during patching, possibly due to missing files.
OPatch returns with error code = 200Hi , I am facing the same issue.
were you able to resolve it.
please let me know if you were.
Many Thanks. -
Error while applying INLOC patch on 11i platform windows 2003.
Hi all,
follwoing error and warning occur while applying INDIA LOCALIZATION patch 6410725 on windows 2003.
***Error! Could not copy ja_in_tran_rg_entry_trg.sql to E:\inloc\ILP\patch\6410725\backup\patch/115/sql. Skipping..The syntax of the command is incorrect.
Copied patch\115\sql\ja_in_tran_rg_entry_trg.sql successfully to d:\oracle\visappl\ja\11.5.0\patch\115\sql.
Applied ja_in_tran_rg_entry_trg.sql successfully.
***Error! Could not copy ja_in_reqn_curr_upd_trg.sql to E:\inloc\ILP\patch\6410725\backup\patch/115/sql. Skipping..The syntax of the command is incorrect.
Copied patch\115\sql\ja_in_reqn_curr_upd_trg.sql successfully to d:\oracle\visappl\ja\11.5.0\patch\115\sql.
Applied ja_in_reqn_curr_upd_trg.sql successfully.
***Warning! Could not create patch/115/sql directory. Skipping..
The system cannot find the path specifiedBacked jai_cmn_dbg_ctx.pls in from databaseCopied patch\115\sql\jai_cmn_dbg_ctx.pls successfully to d:\oracle\visappl\ja\11.5.0\patch\115\sql.
Applied jai_cmn_dbg_ctx.pls successfully.
***Warning! Could not create patch/115/sql directory. Skipping..
The system cannot find the path specifiedBacked ja_in_balance_transfer.sql in from databaseCopied patch\115\sql\ja_in_balance_transfer.sql successfully to d:\oracle\visappl\ja\11.5.0\patch\115\sql.
Applied ja_in_balance_transfer.sql successfully.
***Warning! Could not create patch/115/sql directory. Skipping..
The system cannot find the path specifiedBacked jai_cmn_dbg_ctx.plb in from databaseCopied patch\115\sql\jai_cmn_dbg_ctx.plb successfully to d:\oracle\visappl\ja\11.5.0\patch\115\sql.
Applied jai_cmn_dbg_ctx.plb successfully.
Skipping JAI_ARSETUP_C.ldt because FND patchset level is H..Copied JAI_ARSETUP_E.ldt successfully to E:\inloc\ILP\patch\6410725\backup\patch\115\import\US.
Copied patch\115\import\US\JAI_ARSETUP_E.ldt successfully to d:\oracle\visappl\ja\11.5.0\patch\115\import\US.
Applied JAI_ARSETUP_E.ldt successfully.
I have check all pre requisites, is any steps before applying the patch to avoid this kind error?
regards,
sandeep.Hi,
i dont understand why path is changing
E:\inloc\ILP\patch\6410725\backup\patch / 115 / sql
1)did u give correct path of patch directory when installing patch?
2)are u installing the patch from inside the patch directory?if not do it and check
3)give full permission to everyone on the patch directory
Regards
Edited by: Ahmed@hungry_dba on Feb 14, 2010 10:52 PM -
Error while applying patch MLR#4
hi,
I am getting error while applying patch MLR#4. Can you please let me know whats error can be resolved?
Please see below the snapshots from log file.
Thanks,
Vaibhav
Execute perf_wid_pid_pcid.sql
Error: Abort transaction
java.lang.NullPointerException
at oracle.tip.adapter.b2b.data.B2BSchemaUpdate.addAQJMSTransportProtocolToGenericExchange(B2BSchemaUpdate.java:1009)
at oracle.tip.adapter.b2b.data.B2BSchemaUpdate.main(B2BSchemaUpdate.java:509)
Begin Transaction
Inserting DocumentRoutingID into X12_DOCUMENT_TYPE_PARAMETERS
Failure! Error stack:
java.lang.NullPointerException
at oracle.tip.buslogic.bll.b2b.DocumentProtocolWizard.getDocumentTypeParameter(DocumentProtocolWizard.java:819)
at oracle.tip.adapter.b2b.data.B2BParameterSeed.createDocumentTypeParameters(B2BParameterSeed.java:214)
at oracle.tip.adapter.b2b.data.B2BParameterSeed.main(B2BParameterSeed.java:160)
start: update opmn xml
Transaction started
An exception occured during seeding
java.lang.NullPointerException
at oracle.tip.buslogic.bll.b2b.DocumentProtocolWizard.getDocumentTypeParameter(DocumentProtocolWizard.java:819)
at oracle.tip.adapter.b2b.exchange.ebms.EBMSPatch.createCustomDocumentTypeParameters(EBMSPatch.java:386)
at oracle.tip.adapter.b2b.exchange.ebms.EBMSPatch.seed(EBMSPatch.java:56)
at oracle.tip.adapter.b2b.exchange.ebms.EBMSPatch.main(EBMSPatch.java:38)
Seeding successful
Error -: AIP-11001: Transaction closed: Error -: AIP-11001: Transaction closed
at oracle.tip.buslogic.common.Transaction.commit(Transaction.java:72)
at oracle.tip.adapter.b2b.exchange.ebms.EBMSPatch.seed(EBMSPatch.java:79)
at oracle.tip.adapter.b2b.exchange.ebms.EBMSPatch.main(EBMSPatch.java:38)
Caused by: Error -: AIP-11001: Transaction closed
at oracle.tip.repos.core.driver.CatalogTransaction.commit(CatalogTransaction.java:1464)
at oracle.tip.buslogic.common.Transaction.commit(Transaction.java:70)
... 2 more
Starting task #1 [AS1SeedTask] ...
Task [AS1SeedTask]: starting ...
EDI X12 over AS1 is being seeded.
create BusinessProtocol EDI-EDI_X12 over AS1....
creating AS Exchange Protocols...
create AS1 1.0
java.lang.Exception: No TransportProtocol found for the given name and revision 'EMail' '1.0'
at oracle.tip.seed.AS1SeedTask.getTransportProtocol(AS1SeedTask.java:342)
at oracle.tip.seed.AS1SeedTask.createAS1(AS1SeedTask.java:483)
at oracle.tip.seed.AS1SeedTask.createAS1ExchangeProtocol(AS1SeedTask.java:423)
at oracle.tip.seed.AS1SeedTask.createBusinessProtocol_EDI_EDI_X12_AS1(AS1SeedTask.java:530)
at oracle.tip.seed.AS1SeedTask.doWork(AS1SeedTask.java:104)
at oracle.tip.seed.SeedDriver.processTasks(SeedDriver.java:222)
at oracle.tip.seed.SeedDriver.go(SeedDriver.java:283)
at oracle.tip.seed.AS1SeedDriver.main(AS1SeedDriver.java:80)
java.lang.Exception: No TransportProtocol found for the given name and revision 'EMail' '1.0'
at oracle.tip.seed.AS1SeedTask.getTransportProtocol(AS1SeedTask.java:342)
at oracle.tip.seed.AS1SeedTask.createAS1(AS1SeedTask.java:483)
at oracle.tip.seed.AS1SeedTask.createAS1ExchangeProtocol(AS1SeedTask.java:423)
at oracle.tip.seed.AS1SeedTask.createBusinessProtocol_EDI_EDI_X12_AS1(AS1SeedTask.java:530)
at oracle.tip.seed.AS1SeedTask.doWork(AS1SeedTask.java:104)
at oracle.tip.seed.SeedDriver.processTasks(SeedDriver.java:222)
at oracle.tip.seed.SeedDriver.go(SeedDriver.java:283)
------------------------------------------Make sure that no oracle processes are running on windows, stop all services again and use the task manager to kill any oracle process that is running. But first read de README.txt that you have with your patch, there is all the steps you need to follow to perform that installation.
Message was edited by:
user637951 -
Error while applying leave request though poratl
Hi All,
In portal Employee is unable to apply any leave. The system is giving the error message as
"As per policy, Casual Leave cannot be taken for more than 1 working day consecutively,
Please utilise Privilege leave for this purpose. In case you do not have Sufficient PL balance, Please apply for LOA."
But when trying to raise a "Privilege/ Sick" leave , he is still getting the same message.
So he is not able to raise any kind of leave.
So can anyone please suggest a solution.
Regards,
Muni.Hi Binu,
It is a Std error which you r getting in the system while maintaining EL on that day. Is 07.03.2012 is a paid holiday ?? Then it will give the same error while applying the leave on that day...
You need to check the Holiday class for that abs type in the system.
Regards,
Prasad Lad -
Error while applying LM-tools patch using JSPM
hi all,
I got error while applying LM-Tool patch using JSPM. following is the error log. How can i rectify it. please help.
Mar 29, 2010 12:49:57... Info:
Mar 29, 2010 12:49:57... Info: 12:49:56 2010-03-29 dbs-Info: Statement successf
ully executed: DROP TABLE "BC_MID_TREE"
Mar 29, 2010 12:49:57... Info: 12:49:56 2010-03-29 dbs-Info: Statement successf
ully executed: DROP TABLE "BC_MID_TREE"
Mar 29, 2010 12:49:57... Info: 12:49:56 2010-03-29 dbs-Info: Statement successf
ully executed: CREATE TABLE "BC_MID_TREE"("NODE_ID" RAW(16) NOT NULL, "PARENT_I
D" RAW(16) , "NODE_TYPE" NUMBER(10) DEFAULT 0 NOT NULL, "NAME" NVARCHAR2(30) DE
FAULT ' ' NOT NULL, "TS" TIMESTAMP NOT NULL, "USER_ID" NVARCHAR2(30) )
Mar 29, 2010 12:49:57... Info: 12:49:56 2010-03-29 dbs-Info: Statement successf
ully executed: CREATE TABLE "BC_MID_TREE"("NODE_ID" RAW(16) NOT NULL, "PARENT_I
D" RAW(16) , "NODE_TYPE" NUMBER(10) DEFAULT 0 NOT NULL, "NAME" NVARCHAR2(30) DE
FAULT ' ' NOT NULL, "TS" TIMESTAMP NOT NULL, "USER_ID" NVARCHAR2(30) )
Mar 29, 2010 12:49:57... Info: 12:49:56 2010-03-29 dbs-Info: Statement successf
ully executed: CREATE INDEX "BC_MID_TREE_R" ON "BC_MID_TREE"("PARENT_ID")
Mar 29, 2010 12:49:57... Info: 12:49:56 2010-03-29 dbs-Info: Statement successf
ully executed: CREATE INDEX "BC_MID_TREE_R" ON "BC_MID_TREE"("PARENT_ID")
Mar 29, 2010 12:49:57... Info: 12:49:56 2010-03-29 dbs-Info: Statement successf
ully executed: CREATE UNIQUE INDEX "BC_MID_TREE_U" ON "BC_MID_TREE"("PARENT_ID",
"NAME")
Mar 29, 2010 12:49:57... Info: 12:49:56 2010-03-29 dbs-Info: Statement successf
ully executed: CREATE UNIQUE INDEX "BC_MID_TREE_U" ON "BC_MID_TREE"("PARENT_ID",
"NAME")
Mar 29, 2010 12:49:57... Info: 12:49:56 2010-03-29 dbs-Info: Statement successf
ully executed: ALTER TABLE "BC_MID_TREE" ADD PRIMARY KEY ("NODE_ID") NOT DEFERRA
BLE INITIALLY IMMEDIATE ENABLE VALIDATE
Mar 29, 2010 12:49:57... Info: 12:49:56 2010-03-29 dbs-Info: Statement successf
ully executed: ALTER TABLE "BC_MID_TREE" ADD PRIMARY KEY ("NODE_ID") NOT DEFERRA
BLE INITIALLY IMMEDIATE ENABLE VALIDATE
Mar 29, 2010 12:49:57... Info: 12:49:56 2010-03-29 dbs-Info: Runtime XML of BC_
MID_TREE successfully written
Mar 29, 2010 12:49:57... Info: 12:49:56 2010-03-29 dbs-Info: Runtime XML of BC_
MID_TREE successfully written
Mar 29, 2010 12:49:57... Info: 12:49:56 2010-03-29 dbs-Info: Runtime XML of BC_
MID_TREE successfully written
Mar 29, 2010 12:49:57... Info: 12:49:56 2010-03-29 dbs-Info: Runtime XML of BC_
MID_TREE successfully written
Mar 29, 2010 12:49:57... Info: 12:49:56 2010-03-29 dbs-Info: Next archive objec
t : dbtables/BC_MID_TREE_ITEM.gdbtable
Mar 29, 2010 12:49:57... Info: 12:49:56 2010-03-29 dbs-Info: Next archive objec
t : dbtables/BC_MID_TREE_ITEM.gdbtable
Mar 29, 2010 12:49:57... Info: 12:49:56 2010-03-29 dbs-Info: <<< Analyze table
BC_MID_TREE_ITEM >>>
Mar 29, 2010 12:49:57... Info: 12:49:56 2010-03-29 dbs-Info: <<< Analyze table
BC_MID_TREE_ITEM >>>
Mar 29, 2010 12:49:57... Info: 12:49:56 2010-03-29 dbs-Info: predefined action
is: >>>DROP_CREATE<<<
Mar 29, 2010 12:49:57... Info: 12:49:56 2010-03-29 dbs-Info: predefined action
is: >>>DROP_CREATE<<<
Mar 29, 2010 12:49:57... Info: 12:49:56 2010-03-29 dbs-Info: Action: DROP_CREAT
E
Mar 29, 2010 12:49:57... Info: 12:49:56 2010-03-29 dbs-Info: Action: DROP_CREAT
E
Mar 29, 2010 12:49:57... Info: 12:49:56 2010-03-29 dbs-Info: DROP TABLE "BC_M
ID_TREE_ITEM"
Mar 29, 2010 12:49:57... Info: CREATE TABLE "BC_MID_TREE_ITEM"
Mar 29, 2010 12:49:57... Info: (
Mar 29, 2010 12:49:57... Info: "NODE_ID" RAW(16) NOT NULL,
Mar 29, 2010 12:49:57... Info: "ITEM_ID" RAW(16)
Mar 29, 2010 12:49:57... Info: )
Mar 29, 2010 12:49:57... Info: CREATE INDEX "BC_MID_TREE_ITEM_R" ON "BC_MID_TRE
E_ITEM"
Mar 29, 2010 12:49:57... Info: (
Mar 29, 2010 12:49:57... Info: "ITEM_ID"
Mar 29, 2010 12:49:57... Info: )
Mar 29, 2010 12:49:57... Info: ALTER TABLE "BC_MID_TREE_ITEM"
Mar 29, 2010 12:49:57... Info: ADD PRIMARY KEY ("NODE_ID")
Mar 29, 2010 12:49:57... Info: NOT DEFERRABLE INITIALLY IMMEDIATE ENABLE VALIDAT
E
Mar 29, 2010 12:49:57... Info:
Mar 29, 2010 12:49:57... Info: 12:49:56 2010-03-29 dbs-Info: DROP TABLE "BC_M
ID_TREE_ITEM"
Mar 29, 2010 12:49:57... Info: CREATE TABLE "BC_MID_TREE_ITEM"
Mar 29, 2010 12:49:57... Info: (
Mar 29, 2010 12:49:57... Info: "NODE_ID" RAW(16) NOT NULL,
Mar 29, 2010 12:49:57... Info: "ITEM_ID" RAW(16)
Mar 29, 2010 12:49:57... Info: )
Mar 29, 2010 12:49:57... Info: CREATE INDEX "BC_MID_TREE_ITEM_R" ON "BC_MID_TRE
E_ITEM"
Mar 29, 2010 12:49:57... Info: (
Mar 29, 2010 12:49:57... Info: "ITEM_ID"
Mar 29, 2010 12:49:57... Info: )
Mar 29, 2010 12:49:57... Info: ALTER TABLE "BC_MID_TREE_ITEM"
Mar 29, 2010 12:49:57... Info: ADD PRIMARY KEY ("NODE_ID")
Mar 29, 2010 12:49:57... Info: NOT DEFERRABLE INITIALLY IMMEDIATE ENABLE VALIDAT
E
Mar 29, 2010 12:49:57... Info:
Mar 29, 2010 12:49:57... Info: 12:49:57 2010-03-29 dbs-Info: Statement successf
ully executed: DROP TABLE "BC_MID_TREE_ITEM"
Mar 29, 2010 12:49:57... Info: 12:49:57 2010-03-29 dbs-Info: Statement successf
ully executed: DROP TABLE "BC_MID_TREE_ITEM"
Mar 29, 2010 12:49:57... Info: 12:49:57 2010-03-29 dbs-Info: Statement successf
ully executed: CREATE TABLE "BC_MID_TREE_ITEM"("NODE_ID" RAW(16) NOT NULL, "ITE
M_ID" RAW(16) )
Mar 29, 2010 12:49:57... Info: 12:49:57 2010-03-29 dbs-Info: Statement successf
ully executed: CREATE TABLE "BC_MID_TREE_ITEM"("NODE_ID" RAW(16) NOT NULL, "ITE
M_ID" RAW(16) )
Mar 29, 2010 12:49:57... Info: 12:49:57 2010-03-29 dbs-Info: Statement successf
ully executed: CREATE INDEX "BC_MID_TREE_ITEM_R" ON "BC_MID_TREE_ITEM"("ITEM_ID"
Mar 29, 2010 12:49:57... Info: 12:49:57 2010-03-29 dbs-Info: Statement successf
ully executed: CREATE INDEX "BC_MID_TREE_ITEM_R" ON "BC_MID_TREE_ITEM"("ITEM_ID"
Mar 29, 2010 12:49:57... Info: 12:49:57 2010-03-29 dbs-Info: Statement successf
ully executed: ALTER TABLE "BC_MID_TREE_ITEM" ADD PRIMARY KEY ("NODE_ID") NOT DE
FERRABLE INITIALLY IMMEDIATE ENABLE VALIDATE
Mar 29, 2010 12:49:57... Info: 12:49:57 2010-03-29 dbs-Info: Statement successf
ully executed: ALTER TABLE "BC_MID_TREE_ITEM" ADD PRIMARY KEY ("NODE_ID") NOT DE
FERRABLE INITIALLY IMMEDIATE ENABLE VALIDATE
Mar 29, 2010 12:49:57... Info: 12:49:57 2010-03-29 dbs-Info: Runtime XML of BC_
MID_TREE_ITEM successfully written
Mar 29, 2010 12:49:57... Info: 12:49:57 2010-03-29 dbs-Info: Runtime XML of BC_
MID_TREE_ITEM successfully written
Mar 29, 2010 12:49:57... Info: 12:49:57 2010-03-29 dbs-Info: Runtime XML of BC_
MID_TREE_ITEM successfully written
Mar 29, 2010 12:49:57... Info: 12:49:57 2010-03-29 dbs-Info: Runtime XML of BC_
MID_TREE_ITEM successfully written
Mar 29, 2010 12:49:57... Info: 12:49:57 2010-03-29 dbs-Info: Analysis and adjus
tment of tables successfully executed
Mar 29, 2010 12:49:57... Info: 12:49:57 2010-03-29 dbs-Info: Analysis and adjus
tment of tables successfully executed
Mar 29, 2010 12:49:57... Info: Finished successfully: development component 'tc/
slm/mid/dd'/'sap.com'/'MAIN_APL70P18_C'/'2712380'/'0', grouped by
Mar 29, 2010 12:49:57... Info: Starting to save the repository
Mar 29, 2010 12:49:57... Info: Finished saving the repository
Mar 29, 2010 12:49:57... Info: Starting: Update: Selected development component
'tc/archtech/browser/viewer/locator'/'sap.com'/'MAIN_APL70P18_C'/'2712383'/'0' u
pdates currently deployed development component 'tc/archtech/browser/viewer/loca
tor'/'sap.com'/'MAIN_APL70VAL_C'/'1496536'/'0'.
Mar 29, 2010 12:49:57... Info: SDA to be deployed: /usr/sap/IRX/DVEBMGS02/SDM/ro
ot/origin/sap.com/tc/archtech/browser/viewer/locator/MAIN_APL70P18_C/0/2712383/t
carchtechbrowserviewerlocator.sda
Mar 29, 2010 12:49:57... Info: Software type of SDA: J2EE
Mar 29, 2010 12:49:57... Info: ***** Begin of SAP J2EE Engine Deployment (J2EE A
pplication) *****
Mar 29, 2010 12:49:58... Info: Starting cluster instance processes.
Mar 29, 2010 12:50:03... Info: Starting the instance JC_PRDCIXI_IRX_02 running o
n host PRDCIXI_svc
Mar 29, 2010 12:50:03... Info: Starting the instance JC_PRDCIXI_IRX_02 processes
. The instance is running on host PRDCIXI_svc
Mar 29, 2010 12:50:03... Info: Starting the process dispatcher
Mar 29, 2010 12:50:03... Info: Starting the process server0
Mar 29, 2010 6:49:58 PM Info: ***** End of SAP J2EE Engine Deployment (J2EE App
lication) *****
Mar 29, 2010 6:49:58 PM Error: Aborted: development component 'tc/archtech/brow
ser/viewer/locator'/'sap.com'/'MAIN_APL70P18_C'/'2712383'/'0', grouped by softwa
re component 'LM-TOOLS'/'sap.com'/'MAIN_APL70P19_C'/'1000.7.00.19.0.200904271432
29''/'0':
SDM could not start the J2EE cluster on the host PRDCIXI! The online deployment
is terminated.
A timeout occured during the cluster running verification.
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDepl
oyerImpl.performAction(DeploymentActionTypes).STARTUP_CLUSTER)
Mar 29, 2010 6:49:58 PM Info: Starting to save the repository
Mar 29, 2010 6:49:59 PM Info: Finished saving the repository
Mar 29, 2010 6:49:59 PM Info: Starting: Update: Selected software component 'LM
-TOOLS'/'sap.com'/'MAIN_APL70P19_C'/'1000.7.00.19.0.20090427143229''/'0' updates
currently deployed software component 'LM-TOOLS'/'sap.com'/'MAIN_APL70P14_C'/'1
000.7.00.14.1.20080124101556''/'0'.
Mar 29, 2010 6:49:59 PM Error: Aborted: software component 'LM-TOOLS'/'sap.com'
/'MAIN_APL70P19_C'/'1000.7.00.19.0.20090427143229''/'0':
Failed deployment of SDAs:
development component 'tc/archtech/browser/viewer/locator'/'sap.com'/'MAIN_APL70
P18_C'/'2712383'/'0' : aborted
Please, look at error logs above for more information!
Mar 29, 2010 6:49:59 PM Info: Starting to save the repository
Mar 29, 2010 6:49:59 PM Info: Finished saving the repository
Mar 29, 2010 6:49:59 PM Info: Restoring the state of the instance (JC_PRDCIXI_I
RX_02) process server0 from Stopped to Running
Mar 30, 2010 12:50:00... Error: Received exception when restoring Engine state:
A timeout occured during the cluster state restore verification.
Mar 30, 2010 12:50:00... Error: -
At least one of the Deployments
failed -
Regards,
PriyaHi Priya,
As per your error message, there is problem with the SDM is not starting after finishing deployment on SAP J2EE Engine Deployment. Development component are not deployed properly due to error message
> SDM could not start the J2EE cluster on the host PRDCIXI! The online deployment is terminated. A timeout occured during the cluster running verification. P
Please check the default timeout and increased as requred.
Please check the below thread to rectify this issue.
SDM Troubleshooting : http://help.sap.com/saphelp_nw04/helpdata/de/76/fb72ec091f4bf8a2d8ba321bb7e8d9/frameset.htm
SDM Troubleshooting : https://cw.sdn.sap.com/cw/docs/DOC-29627:
Hope it helps
Regards
Arun -
I am getting an error in "Step 2 - Setup or Remove Lync Server Components" of "Install or Update Lync Server System" step.
"An error occured while applying SQL script for the feature BackendStore. For details, see the log file...."
Additionally, all previous steps such as: Prepare Active Directory, Prepare first Standard Edition server, Install Administrative Tools, Create and publish topology are done without any errors. The user that I used to setup the Lync server is member of:
Administrators
CSAdministrator
Domain Admins
Domain Users
Enterprise Admins
Group Policy Creator Owners
RTCComponentUniversalServices
RTCHSUniversalServices
RTCUniversalConfigReplicator
RTCUniversalServerAdmins
Schema Admins
I have tried to re-install all the things and started to setup a new one many times but the same error still occurred. Please see the log below and give me any ideas/solutions to tackle this problem.
****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.BlobStore'****
Initializing DbSetupBase
Parsing parameters...
Found Parameter: SqlServer Value lync.lctbu.com\rtc.
Found Parameter: SqlFilePath Value C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup.
Found Parameter: Publisheracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group;RTC Local Administrators;LCTBU\RTCUniversalServerAdmins.
Found Parameter: Replicatoracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group.
Found Parameter: Consumeracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group;RTC Local Read-only Administrators;LCTBU\RTCUniversalReadOnlyAdmins.
Found Parameter: DbPath Value D:\CsData\BackendStore\rtc\DbPath.
Found Parameter: LogPath Value D:\CsData\BackendStore\rtc\LogPath.
Found Parameter: Role Value master.
Trying to connect to Sql Server lync.lctbu.com\rtc. using windows authentication...
Sql version: Major: 11, Minor: 0, Build 2100.
Sql version is acceptable.
Validating parameters...
DbName rtcxds validated.
SqlFilePath C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup validated.
DbFileBase rtcxds validated.
DbPath D:\CsData\BackendStore\rtc\DbPath validated.
Effective database Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath.
LogPath D:\CsData\BackendStore\rtc\LogPath validated.
Effective Log Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\LogPath.
Checking state for database rtcxds.
Checking state for database rtcxds.
State of database rtcxds is detached.
Attaching database rtcxds from Data Path \\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath, Log Path \\lync.lctbu.com\D$\CsData\BackendStore\rtc\LogPath.
The operation failed because of missing file '\\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath\rtcxds.mdf'
Attaching database failed because one of the files not found. The database will be created.
State of database rtcxds is DbState_DoesNotExist.
Creating database rtcxds from scratch. Data File Path = D:\CsData\BackendStore\rtc\DbPath, Log File Path= D:\CsData\BackendStore\rtc\LogPath.
Clean installing database rtcxds.
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.RtcSharedDatabase'****
Initializing DbSetupBase
Parsing parameters...
Found Parameter: SqlServer Value lync.lctbu.com\rtc.
Found Parameter: SqlFilePath Value C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup.
Found Parameter: Serveracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group.
Found Parameter: DbPath Value D:\CsData\BackendStore\rtc\DbPath.
Found Parameter: LogPath Value D:\CsData\BackendStore\rtc\LogPath.
Trying to connect to Sql Server lync.lctbu.com\rtc. using windows authentication...
Sql version: Major: 11, Minor: 0, Build 2100.
Sql version is acceptable.
Validating parameters...
DbName rtcshared validated.
SqlFilePath C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup validated.
DbFileBase rtcshared validated.
DbPath D:\CsData\BackendStore\rtc\DbPath validated.
Effective database Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath.
LogPath D:\CsData\BackendStore\rtc\LogPath validated.
Effective Log Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\LogPath.
Checking state for database rtcshared.
Reading database version for database rtcshared.
Database version for database rtcshared - Schema Version5, Sproc Version 0, Update Version 1.
Thanks and Regards,
Thanh LeThanks Lạc
Phạm 2
I Had similar issue i end up uninstalling and reinstallting but same issue, then i change the drive but same issue. It was I/O issue. After adjusting my I/O it fix our issue and installation went on without any issue.
If any one using KVM here is detail article
We just give this option cache=‘writeback
using this article http://www.ducea.com/2011/07/06/howto-improve-io-performance-for-kvm-guests/ and http://itscblog.tamu.edu/improve-disk-io-performance-in-kvm/ this fix my issue thanks
Maybe you are looking for
-
When I plug a LaCie external hard drive to work with Time Machine into my new Mac mini, [OS 10.9.1] it drastically effects the performance of the internet and email, turn off Time Machine, unplug the hard drive, internet and email go back to normal.
-
Uneven screen whiteness/backlight
Has anyone else noticed an uneven backlight/screen whiteness? I just got my 16GB, and the screen is uneven.. Standing vertical, with the home button on the bottom, the right side of the screen is slightly yellow/warmer where the left side of the scre
-
Error starting ORMI-Server. Uable to bind socket
Hi, I get the following error whenever I start my Application Server on Linux machine. If I deploy the EJB application onto a OC4J instance, the server is refusing the connection by throwing Connection Refused error. Any insight about this issue will
-
How to stop reuse asset code once its use in po
Dear All, how to stop reuse of asset code once its use in PO or PR. Thanks & Regards, Mukesh Chejara SAP
-
How to get video calling back on Facebook?
i have download the new mac os x maverick and lost video calling on Facebook. The icon has disappeared. How do i fix this?