Jsp Xml database combination
Can anybody please help me with a small programme of how to use xml to store data retrieved from database and then display it on a jsp page.
There is a good tutorial on developer works.
Follow the url:
http://www.javaworld.com/javaworld/jw-01-2000/jw-01-dbxml_p.html
Hope this helps.
Similar Messages
-
JSP, XML, XSLT: applying XSL on JSP-generated XML doc
Hello,
I am currently trying to figure out how to do the following:
let's consider (that's not entirely hypothetical :) ) a web application working with JSP (on apache/tomcat 3.1) and oracle BC4J Application modules.
The JSPs call oracle webbeans to perform updates and retrieve data from an 8.1.6 database.
Now I'm thinking of moving to a combination of JSP, XML and XSL, which (hopefully) would allow to customize the application depending on the user's browser, language etc...(that's the point isn't it?)
It doesn't seem to be a problem to produce XML from a jsp, send it directly to the client browser, which in turn goes to look for the proper XSL file and does all the transformation stuff.
However this only works with I.E 5 for the moment right? and most website need to support various kinds of browsers...
The need is:
* When a non XML-capable browser is detected, apply the proper XSL(s) on the server side before sending the result back, in html/wml/whatever...
* For XML-capable browsers, produce raw XML, maybe apply some XSL(s), and eventually send the result to the browser which handles the rest of the XSL stuff itself.
Therefore, I'd like to:
- Have the jsp produce the raw xml data (maybe adding extra tags, to indicate the browser and/or the language that the jsp engine has detected).
- Pass the output to a first XSLT engine which would take care of the language stuff
- Feed the result into a second XSLT engine to handle browser specificities for instance...
- Send the final output to the client browser.
Now, there are 2 problems:
* 1/ I have seen various engines capable of chaining XSL transforms, and it is easy to produce XML from a jsp, but I don't know how to feed a jsp's output into an XML engine. is that possible? how?
* 2/ I'm a bit concerned about the cost of applying three (or more) process stages, does anyone have insight on the performance issues this could raise?
bonus question ;) : is there a simpler approach?
Thanks a lot in advance, Remi
nullHello,
I am currently trying to figure out how to do the following:
let's consider (that's not entirely hypothetical :) ) a web application working with JSP (on apache/tomcat 3.1) and oracle BC4J Application modules.
The JSPs call oracle webbeans to perform updates and retrieve data from an 8.1.6 database.
Now I'm thinking of moving to a combination of JSP, XML and XSL, which (hopefully) would allow to customize the application depending on the user's browser, language etc...(that's the point isn't it?)
It doesn't seem to be a problem to produce XML from a jsp, send it directly to the client browser, which in turn goes to look for the proper XSL file and does all the transformation stuff.
However this only works with I.E 5 for the moment right? and most website need to support various kinds of browsers...
The need is:
* When a non XML-capable browser is detected, apply the proper XSL(s) on the server side before sending the result back, in html/wml/whatever...
* For XML-capable browsers, produce raw XML, maybe apply some XSL(s), and eventually send the result to the browser which handles the rest of the XSL stuff itself.
Therefore, I'd like to:
- Have the jsp produce the raw xml data (maybe adding extra tags, to indicate the browser and/or the language that the jsp engine has detected).
- Pass the output to a first XSLT engine which would take care of the language stuff
- Feed the result into a second XSLT engine to handle browser specificities for instance...
- Send the final output to the client browser.
Now, there are 2 problems:
* 1/ I have seen various engines capable of chaining XSL transforms, and it is easy to produce XML from a jsp, but I don't know how to feed a jsp's output into an XML engine. is that possible? how?
* 2/ I'm a bit concerned about the cost of applying three (or more) process stages, does anyone have insight on the performance issues this could raise?
bonus question ;) : is there a simpler approach?
Thanks a lot in advance, Remi
null -
HELP: JSP + XML + XSLT = HTML?
Hello, all.
I am trying out Weblogic 6 and I am trying to get the JSP + XML + XSLT =>
HTML chain working.
I am coming from using Orion and SAXON.. and in that situation I had a JSP
that contained XML tags... they were filled in at runtime and then using
Servlet-Chaining was passed along to the SAXON XSLT Processer. SAXON checked
for the inline XSL specified and then used that to transform the document
into HTML.
It worked well, but there were some other features missing/not documented
that we now need.
With Weblogic I am trying to use the XSLT Tag Library that comes with the
distribution, but it seems to be very finicky. I followed the directions and
I got it to do a sort of roundabout transformation. But it doesn't seem to
work quite right.
The best I can get is the following:
I have an 'xslt' directory url-pattern-mapped to xslt.jsp (as instructed)...
but can't figure out how to specify the xsl file on-the-fly... that is, if I
don't hard-code the XSL file in the x:xslt element in the xslt.jsp it
complains about some XML file not having a root element.
Ideal situation:
1. I have a JSP that includes XML elements.
2. It is filled from a database at runtime and specifys (using a PI) what
XSL stylesheet it is to be processed with.
3. Somehow (fingers crossed) the XML is processed and transformed into HTML
by the appropriate XSL file.
I think I am mostly stuck moving between steps 2 and 3.
Can anyone give me some hints? Are there some Weblogic specific
elements/tags that I have to include in the XML file that Weblogic will
catch and re-direct to the XSL Parser?
Please, anyone, if you have some information, I would much appreciate it.
Dylan Parker
PS - I apologize for the cross-post, I hope it doesn't cause too much
traffic.Craig,
I've since discovered how to do it with the WL Taglibrary... and have
moved on =)
It has to do with the EXTREMELY BADLY documented x:xml tag that can
appear within the x:xslt tag body...
So the WL Tag Library allows something like the following.
(Please note, angled brackets are omitted in this post to prevent html
parsing)
[x:xslt stylesheet="sheet.xsl"]
[x:xml]
Here is the XML to run the sheet on.
This should have all relevant XML syntax: the PIs, the doctype,
root elements etc...
[x:xml]
[x:xslt]
And that DOES work. But not very well. WL, a little prematurely
incorporated versions 1.2 of Xerces and Xalan in their product -- and
these versions have some irritating bugs.
Also -- There tag library doesn't copy the source XML across as UTF-8
.. so a lot of the Japanese I have embedded there (from a DB) gets
mangled somewhere in their code...
AND -- If you hammer a little bit on an JSP/XML that uses the WL Tag
Library (eg clicking refresh lots of times in IE)... I get huge
amounts of irritating exceptions appearing in the log files.
NullPointerExceptions
XSL Parsing Exceptions
XML Parsing Exceptions
but completely unpredictably...
In my eyes.. the WL XML/XSL Tag Library using the incorporated and
untouchable Xalan and Xerces (v1.2) is virtually unusable.
What a pain.
BUT! Apache offers a similar OPEN SOURCE XSL Tag Library available
here:
http://jakarta.apache.org/taglibs/doc/xsl-doc/intro.html
And it uses the standard, non-weblogic-incorporated, Xerces and Xalan
(which means you can provide whatever version you want).. and it works
impressively well.
It has almost identical performance as the WL Taglib, and without all
of the bizarre exceptions being thrown.
And it does proper passing of the character encoding type!
If only the taglib did caching though =(
The performance hit over pure JSP is huge. Almost two orders of
magnitude. On my desktop box I can get around 500Requests/Sec if I am
returning HTML direct from a JSP... while if I produce XML that gets
processed by XSL into HTML the Requests/Sec drops to 5!!!!
Caching. Caching. And more Caching. A lot of DiskIO is going on with
the XML/XSL/XHTML chain of events.
I hope this helps!
I'd be curious as to what you find out as well.
Dylan Parker
On 5 Mar 2001 07:20:00 -0800, "Craig Macha"
<[email protected]> wrote:
>
Yep, I feel Dylan's pain.
I am trying to accomplish the same thing. A JSP page generating
dynamic XML content and then utilizing an XSLT stylesheet to transform
all the content into XHTML.
Does anyone have some examples that show exactly how to accomplish
this? Can I do this with WLS and the XML taglib that comes with
it? Or do I have to move on to something like Cocoon to get this
capability?
Any insight would be greatly appreciated.
Thanks,
Craig Macha
"Dylan Parker" <[email protected]> wrote:
Hello, all.
I am trying out Weblogic 6 and I am trying to get the
JSP + XML + XSLT =>
HTML chain working.
I am coming from using Orion and SAXON.. and in that situation
I had a JSP
that contained XML tags... they were filled in at runtime
and then using
Servlet-Chaining was passed along to the SAXON XSLT Processer.
SAXON checked
for the inline XSL specified and then used that to transform
the document
into HTML.
It worked well, but there were some other features missing/not
documented
that we now need.
With Weblogic I am trying to use the XSLT Tag Library
that comes with the
distribution, but it seems to be very finicky. I followed
the directions and
I got it to do a sort of roundabout transformation. But
it doesn't seem to
work quite right.
The best I can get is the following:
I have an 'xslt' directory url-pattern-mapped to xslt.jsp
(as instructed)...
but can't figure out how to specify the xsl file on-the-fly...
that is, if I
don't hard-code the XSL file in the x:xslt element in
the xslt.jsp it
complains about some XML file not having a root element.
Ideal situation:
1. I have a JSP that includes XML elements.
2. It is filled from a database at runtime and specifys
(using a PI) what
XSL stylesheet it is to be processed with.
3. Somehow (fingers crossed) the XML is processed and
transformed into HTML
by the appropriate XSL file.
I think I am mostly stuck moving between steps 2 and 3.
Can anyone give me some hints? Are there some Weblogic
specific
elements/tags that I have to include in the XML file that
Weblogic will
catch and re-direct to the XSL Parser?
Please, anyone, if you have some information, I would
much appreciate it.
Dylan Parker
PS - I apologize for the cross-post, I hope it doesn't
cause too much
traffic. -
XML database query through Java
Hi all.
I am collecting information about a little application i am trying to build:
I have an XML database with records divided in a lot of subdirectory (with three or four .xml files);
directories' names are defined by date in format "yyyymmdd",
the file within are "date_something.xml":
what is the best way to access it by a web app or a java class to search all the dirs adn print results in a readable way (aka not in cmd) ? I need first to define a period of time to search and then some attribute or node to print referred to some element.
I was guessing to use xpath, anyway I ve tryed JSP but it is too difficult and the query i have to do are really simple to build a full servlet.
I am learning xalan through servlet and I think in future this will be my choice but now i need to collect the data by queries without any automation, just to have results for researching and paper writing.
The main problem I found is to search a full series of directory, with transformations i can find out stuff from a single file, but how to do it for a system of directories?
Any suggestion or link to resource would be good also.lm00 wrote:
ProjectMoon wrote:
By XML database do you mean an actual XML native database, or just a bunch of XML files in a directory structure? If it is an actual XML native database, you should probably use the XML:DB API. If they are just flat files you will need to probably make something that is able to navigate through your directory structure to the documents you want. Once you have that, you can then use XQuery or XPath to get information from those documents.The data is a bunch of directories named by date in format "yyyymmdd", inside each of these there are three or four files .xml
All files have data definitions and schemas but i dont think they are a 'database'. What do u mean "something to navigate through"? A class? Suppose I would like to do it as a webapp what should i have to do?
Yes, I basically meant a class. Before querying the XML file you need something that will retrieve its location. If it's by date you could probably concoct something that takes a Date object and returns a set of File objects. Internally it would traverse the directory trees and find the proper XML file(s).
>>
If you have a LOT of XML documents I honestly recommend something like the eXist XML Native Database, or another XND. I have been playing with them lately and they are very useful.in this case what i have to do? Take the data and put it into a database by this tool? And then I should acces it by a JSP? There is a program using Xpath instead?Well, yes. You would put the files in the XND. Although I don't know if that's useful or not in your situation. It all depends. I also think you're a bit confused as to what JSPs and XPath are...
JSPs are just Java Server Pages, which get dynamically compiled into servlets. If you are following the MVC pattern for servlets/JSP (which you should), JSPs represent your views while servlets are the controllers. The model would be your XML data in this case. XPath is a way to get at that data. If it was in an XND, you could just throw an XQuery/XPath expression at the database and it would give you back XML documents/fragments representing the results of your query. You don't have to make your own system to find the XML documents. Of course, you do have to learn how to use an XND.
Perhaps you should separate what you are trying to do. You have two problems: 1) how to get the XML data you need. 2) How to present it. You should separate those two completely and learn how to do both before attempting to put it together.
Edited by: ProjectMoon on Oct 21, 2009 12:05 PM -
Xml data into non-xml database.. solution anyone?
Hi,
My current project requires me to store the client's data on our servers. We're using Oracle9i. Daily, I will download the client's data for that day and load it into our database. My problem is that the data file is not a flat file so I can't use sql*loader to load the data. Instead, the data file is an xml file. What is the best way to load xml data into a non-xml database? Are there any tools similar to sql*Loader that will load xml data into non-xml database? Is it the best solution for the client to give me an XML dump of their data to load into our database, or should I request a flat file? My last resort would be to write some sort of a script to parse the xml data into a flat file, and then run it through sql*loader. Is this the best solution? One thing to note is that these files could be very large.
Thanks in advance.
-PVI assume that just putting the XML file into an
extremely large VARCHAR field is not what you want.
Instead, you want to extract data elements from the
XML and write them to columns in a table in your
database. Right?Yes. Your assumption is correct.
It sounds like you already have a script that loads a
flat file into your database. In that case I would
write an XSL transformation that converts the client's
XML into a correctly-formatted flat file.Thank you. I'll look into that. Other suggestions are welcome. -
XML Database Development with JDeveloper?
Hello, folks:
I am trying to create XML database through JDeveloper.
Database: Oracle 10g
IDE: JDeveloper 11.1.2.2.0
JDBC Driver: Oracle ojdbc6.jar
I connect successfully to the database through JDeveloper. There I see many folders listed, e.g. Tables, Views, Indexes, XML Schemas, XML DB Repository, and others. My problem is that when I try to save a large schema file (that I already validated on my local machine) that is roughly more than 300 lines, then JDeveloper is unable to save the file. It saves only very small files that are about 100 lines or less. The error message simply is: "Unable to save XML Schema blah.filename@local (Error saving XML Schema).
I tried to do it in Oracle SQL Developer too, but got the same error. Can someone please help me understand this problem and how to fix it? Do I need to specify some settings in JDeveloper or SQL Developer? Thanks a lot in advance.
AsifPlease raise your question to the forum dedicated to JDeveloper 11:
JDeveloper and OC4J 11g Technology Preview
Regards,
Didier. -
How to create simple XML database in oracle 11g
Hi,
what are the steps to followed to create a simeple custormer XML database.
Like storing .xml file into XMLType, writing simple xml schema.....like that
how to register the .xsd
how to insert the xml data
how to querying the the data base with xquery
Thanks in AdvanceHave a look a the FAQ on the main page of this XMLDB forum. That's a good source to start (besides the XMLDB Developer Guide manual).
-
Today I have found these definitions:
1.Native XML Database (NXD):
a) Defines a (logical) model for an XML document -- as opposed to the data in that document -- and stores and retrieves documents according to that model. At a minimum, the model must include elements, attributes, PCDATA, and document order. Examples of such models are the XPath data model, the XML Infoset, and the models implied by the DOM and the events in SAX 1.0.
b) Has an XML document as its fundamental unit of (logical) storage, just as a relational database has a row in a table as its fundamental unit of (logical) storage.
c) Is not required to have any particular underlying physical storage model. For example, it can be built on a relational, hierarchical, or object-oriented database, or use a proprietary storage format such as indexed, compressed files.
2.XML Enabled Database (XEDB) - A database that has an added XML mapping layer provided either by the database vendor or a third party. This mapping layer manages the storage and retrieval of XML data. Data that is mapped into the database is mapped into application specific formats and the original XML meta-data and structure may be lost. Data retrieved as XML is NOT guaranteed to have originated in XML form. Data manipulation may occur via either XML specific technologies(e.g. XPath, XSL-T, DOM or SAX) or other database technologies(e.g. SQL). The fundamental unit of storage in an XEDB is implementation dependent. The XML solutions from Oracle and Microsoft as well as many third party tools fall into this category.
3.Hybrid XML Database (HXD) - A database that can be treated as either a Native XML Database or as an XML Enabled Database depending on the requirements of the application. An example of this would be Ozone.
Which of them would you put XML DB in?If we consider the duality of the XMLType (store XML documents in CLOB's and structured storage with XML Schemas), could we say that it is an hybrid XML database?
Native->CLOB's
Enabled->structured storage
I suppose this cuestion is a bit subjective, but I would like to know your opinions.
Thanks in advance! -
XML Database in Apps Databases
Hi,
What is the use of XML database in Apps Databases...it has XML Schema...etc etc..what purpose is that...If you are using XMLTYPE in stored procedures,
views, functions, columns or tables you need the XDB
feature in order for the base XMLTYPE to have
complete functionality of it's member functions.
This means if you were directed to remove XDB for
some other reason you must follow the steps to put
it back in if you want to use the XMLTYPE. You will
also require it if you are using any of the standard
pl/sql apis such as DBMS_XMLDOM and DBMS_XMLQUERY
to name a couple.Yes, this is from the first note. If you check the other one, you would also find that Oracle XML Database has to be installed correctly (Oracle 10g Release 2 and above) in order to have a successful interMedia installation. For getting more details about "Oracle interMedia", check the the same note (Question 1). -
I have a xml database that has some information which is loaded into a drop down menu on my form. While I am in Live Cycle Designer and use the pdf preview, the dropdowns populate correctly and show what is in the database but when I open up the form in Adobe Reader, the dropdown show null. How can I remedy this problem?
You can use the importXFA() method to import data via scripting.
this.importXFAData("../MyFormData.xml");
Note: This script cannot be run directly from a button in your form.
You'll have to call it from a privileged context like the console window or a folder level script. -
What changes i should made in web.xml for using jsp/xml using weblogic
Hi all,
I just know some changes has to made in web.xml or weblogic.xml if i have to use weblogic for jsp/xml.
Pls. anybody post the steps to intereaction with xml using weblogic.
I am using jdk1.4The problem is solved.
The information is given at
http://e-docs.bea.com/wls/docs61/webapp/webappdeployment.html -
How to use taglibs in JSP for Database access
Hi
Could any one please tell me how to use taglibs in JSP for Database access
with regrds
JojoThis is a sample how to connect to a MySQL database with JSTL 1.0:
<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
<%@ taglib uri="http://java.sun.com/jstl/sql" prefix="sql" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>JSTL MySQL</title>
<link href="styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<c:catch var="e">
<sql:setDataSource var="datasource" url="jdbc:mysql://Your_Server_Name_Here/You_Schema_Here"
user="Your_Username_Here" password="Your_Password_Here"
driver="com.mysql.jdbc.Driver"/>
<c:out value="datasource= ${datasource}, Class = ${driver.class}"/>
<br />
<br />
<sql:query var="deejays" dataSource="${datasource}">SELECT * FROM Your_Table_Name_Here</sql:query>
<table>
<%-- Get the column names for the header of the table --%>
<c:forEach var="columnName" items="${deejays.columnNames}"><th><c:out value="${columnName}"/></th></c:forEach>
<tbody>
<%-- Get the value of each column while iterating over rows --%>
<c:forEach var="row" items="${deejays.rows}">
<tr><c:forEach var="column" items="${row}">
<td><c:out value="${column.value}"/></td>
</c:forEach>
</tr>
</c:forEach>
</tbody>
</table>
</c:catch>
<br />
<br />
<c:if test="${e!=null}"><span class="error">Error</span>�
<c:out value="${e}" />
</c:if>
</body>
</html>And this thread might help you:
http://forum.java.sun.com/thread.jspa?threadID=639471&tstart=44 -
Component XML database is in INVALID state, while quering dba_registry,
How to make the component XML valid
Did You performed recently any upgrade?
Was upgrade sucessfull? No errors?
Please reffer to metalink note 243554.1 - How to Deinstall and Reinstall XML Database (XDB).
If You are using XDB, then You will have to reinstall it. -
Create a table employee having (dept_id : number, employee_spec : XMLType).
The employee_spec is a schema with
attributes emp id, name, email, acc_no, managerEmail, dateOf Joning.
Insert 10 tuples into employee table.Fire the following queries on XML database.
a) Retrieve the names of employee.
b) Retrieve the acc_no of employees.
c) Retrieve the names,acc_no, email of employees.
d) Update the 3rd record from the table and display the name of an employee.
e) Delete 4 th record from the table.
SQL> connect hr/tiger@bom4;
Connected.
SQL> create table employee
2 (
3 dept_id number(8),
4 employee_spec sys.xmltype
5 );
Table created.
SQL>
SQL> INSERT INTO employee VALUES
2 (
3 100,
4 xmltype(
5 '<employees>
6 <emp id="1">
7 <name>abhijeet gole</name>
8 <email>[email protected]</email>
9 <acc_no>111</acc_no>
10 <dateOfJoining>1994-11-16</dateOfJoining>
11 </emp>
12 </employees>'))
13 ;
xmltype(
ERROR at line 4:
ORA-00904: invalid column name
SQL> INSERT INTO employee VALUES
2 (
3 100,
4 sys.XMLTYPE( '<employees>
5 <emp id="1">
6 <name>abhijeet gole</name>
7 <email>[email protected]</email>
8 <acc_no>111</acc_no>
9 <dateOfJoining>1994-11-16</dateOfJoining>
10 </emp>
11 </employees>'))
12 ;
sys.XMLTYPE( '<employees>
ERROR at line 4:
ORA-22876: this user-defined type is not allowed or it cannot be used in this
contextYep, works fine on 10.2...
SQL> ed
Wrote file afiedt.buf
1 create table employee
2 (
3 dept_id number(8),
4 employee_spec xmltype
5* )
SQL> /
Table created.
SQL> ed
Wrote file afiedt.buf
1 INSERT INTO employee VALUES
2 (
3 100,
4 xmltype(
5 '<employees>
6 <emp id="1">
7 <name>abhijeet gole</name>
8 <email>[email protected]</email>
9 <acc_no>111</acc_no>
10 <dateOfJoining>1994-11-16</dateOfJoining>
11 </emp>
12* </employees>'))
SQL> /
1 row created.
SQL>What version of SQL*Plus are you using? Ensure that it's up to date with the database version. -
i am installing xml database on live server with following step:-
created tablespace
create tablespace XDB datafile '/umsdata03/umsdb/datafile/ums_data_xdb01.dbf' size 1G;
executing script
@?/rdbms/admin/catqm.sql xdb123 XDB UMS_AUTOALLOC_TEMP
but the script follow with error:-
and pls suggest how to deal with port issue of xml installation
SQL> create tablespace XDB datafile '/umsdata03/umsdb/datafile/ums_data_xdb01.dbf' size 1G;
Tablespace created.
SQL> SQL>
SQL>
SQL>
SQL> @?/rdbms/admin/catqm.sql xdb123 XDB UMS_AUTOALLOC_TEMP
CREATE TABLE sys.xdb_installation_tab (
ERROR at line 1:
ORA-00955: name is already used by an existing object
CREATE TABLE sys.dropped_xdb_instll_tab (
ERROR at line 1:
ORA-00955: name is already used by an existing object
DROP ON DATABASE
ERROR at line 3:
ORA-00604: error occurred at recursive SQL level 1
ORA-20000: Trigger xdb_installation_trigger does not support object creation of
type TRIGGER
ORA-06512: at line 32
Trigger created.
System altered.
System altered.
System altered.
System altered.
old 23: where tablespace_name = upper('&res_tbs');
new 23: where tablespace_name = upper('XDB');
old 29: where tablespace_name = upper('&temp_tbs');
new 29: where tablespace_name = upper('UMS_AUTOALLOC_TEMP');
old 47: raise_application_error(-20001, 'Compressed tablespace &res_tbs' ||
new 47: raise_application_error(-20001, 'Compressed tablespace XDB' ||
old 51: '&temp_tbs cannot be used');
new 51: 'UMS_AUTOALLOC_TEMP cannot be used');
PL/SQL procedure successfully completed.
old 1: create user xdb identified by &xdb_pass account lock password expire
new 1: create user xdb identified by xdb123 account lock password expire
old 2: default tablespace &res_tbs temporary tablespace &temp_tbs
new 2: default tablespace XDB temporary tablespace UMS_AUTOALLOC_TEMP
User created.
PL/SQL procedure successfully completed.
old 1: create user anonymous identified by values 'anonymous' default tablespace &res_tbs
new 1: create user anonymous identified by values 'anonymous' default tablespace XDB
create user anonymous identified by values 'anonymous' default tablespace XDB
ERROR at line 1:
ORA-01920: user name 'ANONYMOUS' conflicts with another user or role name
Grant succeeded.
User altered.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
CREATE role xdbadmin
ERROR at line 1:
ORA-01921: role name 'XDBADMIN' conflicts with another user or role name
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Session altered.
Table created.
Table created.
Index created.
Type created.
Table created.
Index created.
Type created.
Type created.
Type created.
Synonym created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Type created.
Table created.
Table created.
Table created.
Table created.
Table created.
Table created.
Table created.
Table created.
Table created.
Table created.
Table created.
Table created.
Table created.
Table created.
Table created.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Index created.
Index created.
Index created.
Table analyzed.
Sequence created.
Sequence created.
Grant succeeded.
Library created.
Function created.
Package created.
No errors.
Package body created.
No errors.
Procedure created.
Function created.
Grant succeeded.
Grant succeeded.
PL/SQL procedure successfully completed.
Type created.
Type created.
Type created.
Type created.
Type created.
Grant succeeded.
Type created.
Grant succeeded.
Table created.
Table altered.
Table altered.
Index created.
Table created.
Index created.
Index created.
Index created.
Package created.
No errors.
Package body created.
No errors.
PL/SQL procedure successfully completed.
Session altered.
Package created.
No errors.
Synonym created.
Grant succeeded.
Package created.
Synonym created.
Grant succeeded.
No errors.
Type created.
No errors.
Grant succeeded.
Package created.
No errors.
Synonym created.
Grant succeeded.
No errors.
drop type xdb.xdbpi_im
ERROR at line 1:
ORA-04043: object XDBPI_IM does not exist
drop table xdb.xdb$path_index_params
ERROR at line 1:
ORA-00942: table or view does not exist
Library created.
Table created.
Package created.
Grant succeeded.
No errors.
Type created.
No errors.
Type body created.
No errors.
Grant succeeded.
Package created.
Package body created.
Package created.
No errors.
Grant succeeded.
Package created.
Synonym created.
No errors.
Grant succeeded.
Library created.
Procedure created.
No errors.
Grant succeeded.
Function created.
No errors.
Grant succeeded.
Warning: Package Body created with compilation errors.
No errors.
Grant succeeded.
No errors.
Trigger created.
No errors.
Package body created.
Package created.
No errors.
Synonym created.
Synonym created.
Synonym created.
Grant succeeded.
Grant succeeded.
No errors.
Package created.
No errors.
Synonym created.
Synonym created.
Synonym created.
Grant succeeded.
Grant succeeded.
No errors.
Package created.
No errors.
Package created.
Synonym created.
Synonym created.
Synonym created.
Grant succeeded.
Grant succeeded.
Grant succeeded.
No errors.
Grant succeeded.
Library created.
Package body created.
No errors.
Library created.
Warning: Package Body created with compilation errors.
No errors.
Synonym created.
Grant succeeded.
No errors.
Library created.
Warning: Package Body created with compilation errors.
No errors.
Warning: Package Body created with compilation errors.
Synonym created.
Grant succeeded.
No errors.
Grant succeeded.
Library created.
Function created.
Grant succeeded.
Synonym created.
Procedure created.
No errors.
Grant succeeded.
Grant succeeded.
Function created.
No errors.
Grant succeeded.
Function created.
Grant succeeded.
Grant succeeded.
Package body created.
No errors.
Warning: Package Body created with compilation errors.
No errors.
Synonym created.
Grant succeeded.
No errors.
PL/SQL procedure successfully completed.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
Commit complete.
Index created.
Index created.
Index created.
Index created.
Index created.
Index created.
Index created.
Index created.
Package created.
No errors.
Grant succeeded.
Package body created.
Package body created.
No errors.
Procedure created.
No errors.
Procedure created.
No errors.
drop view xdb.xdb$resource_view
ERROR at line 1:
ORA-00942: table or view does not exist
drop view xdb.xdb$rv
ERROR at line 1:
ORA-00942: table or view does not exist
PL/SQL procedure successfully completed.
drop indextype xdb.xdbhi_idxtyp force
ERROR at line 1:
ORA-29833: indextype does not exist
drop operator xdb.path force
ERROR at line 1:
ORA-29807: specified operator does not exist
drop operator xdb.depth force
ERROR at line 1:
ORA-29807: specified operator does not exist
drop operator xdb.abspath force
ERROR at line 1:
ORA-29807: specified operator does not exist
drop operator xdb.under_path force
ERROR at line 1:
ORA-29807: specified operator does not exist
drop operator xdb.equals_path force
ERROR at line 1:
ORA-29807: specified operator does not exist
drop package xdb.xdb_ancop
ERROR at line 1:
ORA-04043: object XDB_ANCOP does not exist
drop package xdb.xdb_funcimpl
ERROR at line 1:
ORA-04043: object XDB_FUNCIMPL does not exist
drop type xdb.xdbhi_im
ERROR at line 1:
ORA-04043: object XDBHI_IM does not exist
drop type xdb.path_array
ERROR at line 1:
ORA-04043: object PATH_ARRAY does not exist
Library created.
Library created.
Type created.
Type created.
No errors.
Grant succeeded.
Grant succeeded.
Type created.
No errors.
Type body created.
No errors.
Grant succeeded.
Package created.
No errors.
Grant succeeded.
Package created.
No errors.
Grant succeeded.
Type altered.
Operator created.
Operator created.
Grant succeeded.
Grant succeeded.
Synonym created.
Synonym created.
Operator created.
Operator created.
Operator created.
Grant succeeded.
Synonym created.
Grant succeeded.
Synonym created.
Grant succeeded.
Synonym created.
Indextype created.
Grant succeeded.
Index created.
View created.
No errors.
Synonym created.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Package created.
No errors.
Synonym created.
Grant succeeded.
Trigger created.
No errors.
Package body created.
No errors.
Function created.
No errors.
Grant succeeded.
Synonym created.
Function created.
No errors.
Package body created.
No errors.
Package body created.
No errors.
Package body created.
No errors.
Package body created.
BEGIN
ERROR at line 1:
ORA-04063: package body "XDB.DBMS_XDBZ0" has errors
ORA-06508: PL/SQL: could not find program unit being called: "XDB.DBMS_XDBZ0"
ORA-06512: at "XDB.DBMS_XDBZ", line 7
ORA-06512: at line 2
declare
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-04063: package body "XDB.DBMS_XDBUTIL_INT" has errors
ORA-06512: at "XDB.XDB$PATCHUPSCHEMA", line 98
ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 3
ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 14
ORA-06512: at line 143
BEGIN
ERROR at line 1:
ORA-04063: package body "XDB.DBMS_XDBZ0" has errors
ORA-06508: PL/SQL: could not find program unit being called: "XDB.DBMS_XDBZ0"
ORA-06512: at "XDB.DBMS_XDBZ", line 14
ORA-06512: at line 2
DECLARE
ERROR at line 1:
ORA-31114: XDB configuration has been deleted or is corrupted
ORA-06512: at "XDB.DBMS_XDB", line 73
ORA-06512: at line 96
declare
ERROR at line 1:
ORA-01403: no data found
ORA-06512: at line 5
Commit complete.
call xdb.dbms_xdbz0.initXDBSecurity()
ERROR at line 1:
ORA-04063: package body "XDB.DBMS_XDBZ0" has errors
BEGIN
ERROR at line 1:
ORA-04063: package body "XDB.DBMS_XDBZ0" has errors
ORA-06508: PL/SQL: could not find program unit being called: "XDB.DBMS_XDBZ0"
ORA-06512: at "XDB.DBMS_XDBZ", line 7
ORA-06512: at line 2
Commit complete.
grant all on XDB.XDB$ACL to public
ERROR at line 1:
ORA-00942: table or view does not exist
Commit complete.
declare
ERROR at line 1:
ORA-31000: Resource 'http://xmlns.oracle.com/xdb/acl.xsd' is not an XDB schema
document
ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 3
ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 14
ORA-06512: at line 63
declare
ERROR at line 1:
ORA-03113: end-of-file on communication channel
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
No errors.
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
No errors.
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
No errors.
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:Refer MOS note 243554.1 for reinstallation of XDB.
Maybe you are looking for
-
Photoshop CC 2014 - Window Libraries Missing
Watched the Adobe Keynote and looked at Help files about using this new feature. In my Photoshop CC 2014 under Window I should have a Libraries option. I don't. It just goes from Layers to Measurement Log, nothing in between. I checked for updates th
-
BI 7.0 Flat file extraction
Hi all.... For getting acquainted with BI 7.0 i am trying to extract the data from falt file... 1)every thing is fine i created DTP's at cube level and as well as Data source level 2)I have executed / triggred like in Infopacakage to schedule the dat
-
Two app store accounts - can I just delete the other one?
I accidentally have two accounts. How to get rid of the other one - do I need the history data? Is it just purchase data?
-
TUXEDO11 in MP mode can't boot TMS_ORA on the non-master node
I have my Tuxedo 11 installed on Ubuntu9.10 server as the master node (SITE1) and on CentOS6.2 as the non-master node (SITE2). The client program is using WSL to communicate with the servers. Tuxedo 11 has no patch, and both Tuxedo11 and Oracle10gR2
-
CSS Disjointed Text Rollovers help?
Hi All I am new to the site and have a question to ask, I have been playing around with the demo created by Nancy O, for css disjointed text rollover. What i would like to find out is, once i have created the rollover and i hover over it, the text in