Error in accessing the sample application content from the OBIEE 11g
I installed OBIEE 11g + Oracle 11g database on one machine. Everything went smoothly with no issues.
I can connection to the database from SQLPLUS.
Then I followed instructions to deploy sample app. After everything is done, when I try to access the dashboards, reports etc from the OBIEE 11g home page , I get the error below.
I am stuc kand dont know how to proceed. I verified tnsnames.ora and everything seems good.
In the SampleAPp.RPD, I set DB_SID as "ORCL" and DB_HOST as my computer name (along with domain name). No idea how to proceed from here..
I really appreciate any help.
Odbc driver returned an error (SQLExecDirectW).
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 17001] Oracle Error code: 12541, message: ORA-12541: TNS:no listener at OCI call OCIServerAttach. [nQSError: 17014] Could not connect to Oracle database. (HY000)
Thanks
Thanks for the replies.
1) Was the oracle installed in multiple instances ? if yes set the Variable path correctly pointing to your right folder
Yes, oracle had multiple instances. I tried copying the tnsnames.ora from my oracle home to the Oracle_BI1/network/admin directory as 11g apparetnly comes with a Oracle client as BIFACTs suggested in his/her reply. I put the same in the path variable
2) Try to ping the service_name tnsping service_name(SID) from command prompt
This works.
3) check whether you may have "white spaces" in tnsnames.ora file at starting of entry
No white spaces appeated
I still see the same issue! I logged in as developer credentials as mentioned the sample app documentation.
I get the same "cannot connect to database" error.
I once in a while see an issue with javahost not starting. Not sure what is the impact of javahsot not running and all the other managed processes running.
Please help....
Similar Messages
-
How do you get the web application path from the servlet?
I have created a web application which is installed in
/webapps/myApplication
/webapps/myApplication/data/users.xml
/webapps/myApplication/WEB-INF/classes/myServlet
How can you get the path to the "users.xml" file from the "myServlet" file?
The code below doen's seem to return the xml file. anybody knows why?
public class myServlet extends HttpServlet {
public void doGet( HttpServletRequest req, HttpServletResponse res ) throws ServletException, IOException
File myXmlFile = new File("/data/users.xml");Try this..
String FileName = getServletContext().getRealPath("\\data\\users.xml");
File myXmlFile = new File(FileName);
hope this helps.. -
I have uninstalled and reinstalled itunes to no avail...
I have authorized my laptop...
I have downloaded the 64bit itunes for windows.
The sound on my laptop is functioning for other applications such as youtube, crackle...
Has anyone else experienced and found solutions to similar issues?Hey m_marrello,
Take a look at the following article:
iTunes and QuickTime for Windows: Audio does not play or plays incorrectly
http://support.apple.com/kb/ts1362
It is quite detailed and goes over many troubleshooting steps to resolve those audio symptoms.
Best,
David -
Attn: Installing the Sample Applications from the ifs Development Kit
There are a number of problems with the sample Applications included in the
Developer's kit. These need to manually fixed in order to get the demos to work.
#1: Solaris Only
The install of the iFS Development Kit, replaces the existing adk.jar with a new
one containing some additional classes. Unfortunately the install process does not
set the correct privileges on the new version of adk.jar. Please ensure that the
file $ORACLE_HOME/ifs/lib/adk.jar is world readable.
Bug # 1304730
This issue will be resolved on the next drop of the Oracle Internet File System
development kit.
#2: Generic
There is a problem with the way in which the login.jsp establishes a connection to
the repository. The current code makes incorrect assumptions about the name of the
iFS Service and the schema password.
The following changes are required.
In order to connect to the repository 4 pieces of information are required.
1. The iFS User Name
2. The iFS User's password
3. The properties file to be used
4. The database password of the user who owns the iFS Schema
The Login.jsp needs to be altered so that it requests these four arguments before
attempting to establish a connection to the repository.
(The current version only requests username and password).
All four arguments need to be provided as arguments to the login method on the
underlying JavaBean that the JSP invokes when it want to open a connection
to the repository.
***************** HERE IS THE REVISED CODE FOR INSURANCE APPLICATIONS ************
********************************** LOGIN.JSP *************************************
<%@ page import = "ifsdevkit.sampleapps.insurance.InsuranceLogin" %>
<%@ page import = "oracle.ifs.adk.security.IfsHttpLogin" %>
<html><head>
<jsp:useBean id="inslogin" scope="session" class="ifsdevkit.sampleapps.insurance.InsuranceLogin" />
<jsp:setProperty name="inslogin" property="*"/>
<%
String REDIRECT_PATH = "/public/examples/insuranceApp/claims";
boolean loggedIn = false;
if (inslogin.getSession() != null && inslogin.getResolver() != null)
// Use existing insurance login
loggedIn = true;
else
// No existing insurance login
IfsHttpLogin login = (IfsHttpLogin) request.getSession(true).getValue("IfsHttpLogin");
if (login != null && login.getSession() != null && login.getResolver() != null)
// Use existing IfsHttpLogin login
inslogin.init(login.getSession(), login.getResolver());
loggedIn = true;
if (!loggedIn)
String username = request.getParameter("username");
String password = request.getParameter("password");
String serviceName = request.getParameter("serviceName");
String schemaPassword = request.getParameter("schemaPassword");
if (username != null && password != null &&
!username.trim().equals("") && !password.trim().equals(""))
// Login using username/password
try
if (serviceName == null | | serviceName.trim().equals(""))
serviceName = "IfsDefault";
inslogin.init(username, password, serviceName, schemaPassword);
request.getSession(true).putValue("IfsHttpLogin", inslogin);
loggedIn = true;
catch (Exception e)
%>
<SCRIPT LANGUAGE="JavaScript1.2">
alert("The username or Password was not valid, please try again.");
</SCRIPT>
<%
if (loggedIn)
// Redirect to the directory where the claim files reside
response.sendRedirect(REDIRECT_PATH);
else
%>
<title>Insurance Demo App Login</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF">
<form METHOD=POST NAME="loginform" ACTION="login.jsp">
<table>
<tr>
<td><b>Username:</b></td>
<td><input type="text" name="username" value=""></td>
</tr>
<tr>
<td><b>Password:</b></td>
<td><input type="password" name="password" value=""></td>
& lt;/tr>
<tr>
<td><b>Service Name:</b></td>
<td><input type="text" name="serviceName" value="IfsDefault"></td>
</tr>
<tr>
<td><b>Schema Password:</b></td>
<td><input type="password" name="schemaPassword" value=""></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td>
<input type="submit" value="Log in">
</td>
<td>
<input type="reset" value="Reset">
</td>
</tr>
</table>
</form>
</body>
</html>
<% } %>
*************************** END INSURANCE LOGIN.JSP ******************************
This code has been changed so that it requests the four agruments that are required
to connect to the repository and passes them to the login method on the underlying
bean. Note that we have provided the complete source code to this file in order to
make it simple to deploy the revised version of the code. Simply cut and paste this
code into a new file called login.jsp. Copy the File into the iFS
repository folder /ifs/jsp-bin/ifsdevkit/sampleapps/insurance.
****************************** INSURANCELOGIN.JAVA *******************************
package ifsdevkit.sampleapps.insurance;
* Copyright (c) 2000 Oracle Corporation. All rights reserved.
import java.util.Locale;
import javax.servlet.http.HttpSessionBindingEvent;
import oracle.ifs.beans.DirectoryUser;
import oracle.ifs.beans.FolderPathResolver;
import oracle.ifs.beans.LibrarySession;
import oracle.ifs.beans.LibraryService;
import oracle.ifs.common.CleartextCredential;
import oracle.ifs.common.ConnectOptions;
import oracle.ifs.common.IfsException;
import oracle.ifs.adk.security.IfsHttpLogin;
* The login bean for the Insurance demo app.
* <p>
* This class provide the login info. The class implements the
* <code>IfsHttpLogin</code> interface so it can share login data with other
* login beans.
* @author Edward Yu
* @version 1.0
* @see IfsHttpLogin
public class InsuranceLogin implements IfsHttpLogin
* The <code>LibrarySession</code>.
private LibrarySession m_session;
* The <code>FolderPathResolver</code>.
private FolderPathResolver m_resolver;
* Default constructor required by the jsp spec for the USEBEAN tag
* @exception IfsException
public InsuranceLogin()
throws IfsException
* Make a connection to iFS
* @param username The username to be used for login.
* @param password The password to be used for login.
* @param serviceName The service name to be used for login.
* @param schemaPassword The schema password to be used for login.
* @exception IfsException if operation failed.
public void init(String username, String password, String serviceName,
String schemaPassword)
throws IfsException
LibraryService service = new LibraryService();
CleartextCredential me = new CleartextCredential(username, password);
ConnectOptions connection = new ConnectOptions();
connection.setLocale(Locale.getDefault());
connection.setServiceName(serviceName);
connection.setServicePassword(schemaPassword);
m_session = service.connect(me, connection);
m_resolver = new FolderPathResolver(m_session);
m_resolver.setRootFolder();
DirectoryUser user = m_session.getDirectoryUser();
if (user.isAdminEnabled())
m_session.setAdministrationMode(true);
* Initialize the login bean.
* <p>
* The default constructor does not set the necessary fields so it needs
* to be set instantiation.
* @param session The <code>LibrarySession</code> object.
* @param resolver The <code>FolderPathResolver</code> object.
public void init(LibrarySession session, FolderPathResolver resolver)
m_session = session;
m_resolver = resolver;
* Return the login's session object.
* @return The <code>LibrarySession</code> object.
public LibrarySession getSession()
return m_session;
* Return the login's path resolver.
* @return The <code>FolderPathResolver</code> object.
public FolderPathResolver getResolver()
return m_resolver;
* Called when this object is bound to the HTTP session object.
* @param event The event when the object is bound to the Http session.
public void valueBound(HttpSessionBindingEvent event)
// do nothing
* Called when this object is unbound from the HTTP session object.
* @param event The event when the object is unbound to the Http session.
public void valueUnbound(HttpSessionBindingEvent event)
m_resolver = null;
try
if (m_session != null)
m_session.disconnect();
catch (IfsException e)
e.printStackTrace();
finally
m_session = null; // release the resources
*****************************END INSURANCELOGIN.JAVA ******************************
This code has been changed so that it accepts the four agruments that are required
to connect to the repository and uses them to connect to the repository. Note that
we have provided the complete source code to this file in order to make it simple
to deploy the revised version of the code. Simply cut and paste this
code into a new file called. Save the file on the native file system
in a file called InsuranceLogin.java in the directory
$ORACLE_HOME/ifs/ifsdevkit/sampleapps/insurance/
*************** HERE IS THE REVISED CODE FOR WEB COMMAND APPLICATIONS ************
********************************** LOGIN.JSP *************************************
<%@ page import = "ifsdevkit.sampleapps.webcommandapp.WebCommandLogin" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Author" content="Patricia Li">
<title>Login</title>
</head>
<jsp:useBean id="wclogin" scope="session" class="ifsdevkit.sampleapps.webcommandapp.WebCommandLogin" />
<jsp:setProperty name="wclogin" property="*"/>
<%
String REDIRECT_PATH = "/ifs/ifsdevkit/sampleapps/WebCommandApp/html/main.html";
boolean loggedIn = false;
if (wclogin.getSession() != null)
// Use existing WebCommand login
loggedIn = true;
else
String username = request.getParameter("username");
String password = request.getParameter("password");
String serviceName = request.getParameter("serviceName" );
String schemaPassword = request.getParameter("schemaPassword");
if (username != null && password != null)
// Login to iFS
try
wclogin.init(username, password, serviceName, schemaPassword);
request.getSession(true).putValue("IfsHttpLogin", wclogin);
loggedIn = true;
catch (Exception e)
%>
<SCRIPT LANGUAGE="JavaScript1.2">
alert("The credentials are not valid; please try again.");
</SCRIPT>
<%
if (loggedIn == true)
// Go to main page...
response.sendRedirect(REDIRECT_PATH);
else
%>
<title>Web Command App Login</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF">
<h2>WebCommand Application Login</h2>
<form METHOD=POST NAME="loginform" ACTION="login.jsp">
<table>
<tr>
<td><b>Username:</b></td>
<td><input type="text" name="username" value=""></td>
</tr>
<tr>
<td><b>Password:</b></td>
<td><input type="password" name="password" value=""></td>
</tr>
<tr>
<td><b>Service Name:</b></td>
<td><input type="text" name="serviceName" value="IfsDefault"></td>
</tr>
<tr>
<td><b>Schema Password:</b></td>
<td& gt;<input type="password" name="schemaPassword" value=""></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td>
<input type="submit" value="Log in">
</td>
<td>
<input type="reset" value="Reset">
</td>
</tr>
</table>
</form>
</body>
</html>
<% } %>
************************* END WEB COMMAND LOGIN.JSP ******************************
This code has been changed so that it requests the four agruments that are required
to connect to the repository and passes them to the login method on the underlying
bean. Note that we have provided the complete source code to this file in order to
make it simple to deploy the revised version of the code. Simply cut and paste this
code into a new file called login.jsp. Copy the File into the iFS repository folder
/ifs/jsp-bin/ifsdevkit/sampleapps/WebCommandApp
****************************WEBCOMMANDLOGIN.JAVA**********************************
package ifsdevkit.sampleapps.webcommandapp;
import java.util.Locale;
import oracle.ifs.beans.DirectoryUser;
import oracle.ifs.beans.FolderPathResolver;
import oracle.ifs.beans.LibrarySession;
import oracle.ifs.beans.LibraryService;
import oracle.ifs.common.CleartextCredential;
import oracle.ifs.common.ConnectOptions;
import oracle.ifs.common.IfsException;
import oracle.ifs.adk.filesystem.IfsFileSystem;
import oracle.ifs.adk.security.IfsHttpLogin;
import javax.servlet.http.HttpSessionBindingEvent;
* WebCommand application that illustrates the usage of the
* File System API.
* @version 1.0
* @pub
public class WebCommandLogin implements IfsHttpLogin
private LibrarySession m_session; // Session
private FolderPathResolver m_resolver; // Resolver
private IfsFileSystem m_ifs; // File System object
* Default constructor required by the jsp spec for the USEBEAN tag
public WebCommandLogin()
throws IfsException
* Make a connection to iFS
* @pub
public void init(String username, String password, String serviceName,
String schemaPassword)
throws IfsException
LibraryService service = new LibraryService();
CleartextCredential cred = new CleartextCredential(username, password);
ConnectOptions options = new ConnectOptions();
options.setLocale(Locale.getDefault());
options.setServiceName(serviceName);
options.setServicePassword(schemaPassword);
m_session = service.connect(cred, options);
m_resolver = new FolderPathResolver(m_session);
m_resolver.setRootFolder();
m_ifs = new IfsFileSystem(m_session);
DirectoryUser user = (DirectoryUser) m_session.getDirectoryUser();
if (user.isAdminEnabled())
m_session.setAdministrationMode(true);
* Use the existing connection.
* The default constructor does not set the necessary fields.
* @pub
public void init(LibrarySession session, FolderPathResolver resolver)
throws IfsException
m_session = session;
m_resolver = resolver;
m_ifs = new IfsFileSystem(m_session);
* Return the login's session
* @pub
public LibrarySession getSession()
return m_session;
* Return the login's path resolver
* @pub
public FolderPathResolver getResolver()
return m_resolver;
* Return the IfsFileSystem API object
* @pub
public IfsFileSystem getIfsFileSystem()
return m_ifs;
* Implementation of valueBound
* @pub
public void valueBound(HttpSessionBindingEvent e)
* Implementation of valueUnbound
* @pub
public void valueUnbound(HttpSessionBindingEvent e)
try
m_session.disconnect();
catch (IfsException ie)
************************* END WEBCOMMANDLOGIN.JAVA *******************************
This code has been changed so that it accepts the four agruments that are required
to connect to the repository and uses them to connect to the repository. Note that
we have provided the comple te source code to this file in order to make it simple
to deploy the revised version of the code. Simply cut and paste this code into a
new file called WebCommandLogin.java in the directory
$ORACLE_HOME/ifs/ifsdevkit/sampleapps/webcommandapp/
Compile the java class.
Copy the classfile to $ORACLE_HOME/ifs/custom_classes/ifsdevkit/sampleapps/webcommandapp/
Stop and Start all of the protocol servers.
This issue will be resolved on the next drop of the Oracle Internet File System
development kit.
#3. Making the BaseRendererClass available to the Protocol Servers
Note this step is not required if you have the 1.0.8.3 patch set installed.
Install the BaseRenderer Class. The BaseRenderer class is delivered in the jar file
ifsdevkit.jar and can be used to simplify the task of creating a custom renderer.
Unfortunately the jar file containing this class is not referenced in any of the Classpaths
used by the iFS protocol servers. This means that they will not be able to load any
customer renderers that extend BaseRenderer. In order to make BaseRenderer available
to the Protocol Servers it need to be placed in the appropriate directory under
<ORACLE_HOME>/ifs/custom_classes.
Extract the class from the ifsdevkit.jar.
ifsdevkit.jar is located in <ORACLE_HOME>/ifs/lib after the devkit has been installed.
jar -xvf ifsdevkit.jar
extracted: META-INF/MANIFEST.MF
extracted: BaseRenderer.class
Create the following directory heirachy in <ORACLE_HOME>/ifs/custom classes
oracle/ifs/server/renderers
Copy <ORACLE_HOME>/ifs/lib/BaseRenderer.class to
<ORACLE_HOME/ifs/custom_classes/oracle/ifs/server/renderers
That should do it.
Regards
Mark D. Drake
nullMoving to Top
-
I am trying to store music for two different iPods on the same Windows 8 computer, and when I try and download content from the Cloud I get an error message. Is it possible to have two different Apple IDs on the same computer?
Unfortunately you've discovered too late how important it is to maintain an up-to-date backup of your iTunes library (and all other data of value). You could, before wiping the drive, have considered making use of a commercial data recovery service that could (albeit at considerable cost) have extracted your library from the hard disk, even if virus infected.
In the absence of that option, you will need to restore the content of your library from its original sources:
Depending on your location, you may be able to re-download any iTunes Store purchases that are still available on the Store
Likewise, most digital purchases from Amazon (including auto-rip copies of purchased CDs) should be available from the Amazon Cloud and via the Amazon Music application - the same may be true of other commercial sources for digital downloads
Content imported from your CDs will have to imported again
The specific situation that you describe regarding the music imported from your friend's external HDD suggests that either the source is badly organized and/or originates from a source other than iTunes (other media players may use alternative tags for information like artist, title, album, etc. that are not wholly consistent with how iTunes handle these). Without details of the issues you're seeing it is difficult to suggest a remedy other than going through the media album-by-album, track-by-track, and correcting the inconsistencies.
In the absence of a backup or access to the original library data there is no option other than painstakingly recreating your library as described above. As you do so, you'll now realize how important creating and maintaining backups are - in my case I have at all times three separate duplicates of my library, in two different locations, where none is ever more than a week old compared to the content of my master library. -
Can XI as a middleware drive the content from the Application level
Can XI as a middleware drive the content from the Application level (backend) into the front-end Portal? By XI connectors? Is there a documentation that explains that?
You can't plug an iPod into an iPad in order to access its media, and as far as I am aware you can only use home sharing between a computer and an iOS device (iPad, iPhone, iPod Touch, but not an iPod Classic), and not between 2 iOS devices : http://support.apple.com/kb/HT4557 and http://www.apple.com/support/homesharing/
-
How to view the file content from the directory? getting Error:ORA-21560
SQL> create directory READ_LOB_DIR as 'D:\Prj\Comm\Data';
CREATE OR REPLACE Procedure READ_FILE_LOB IS
-- Input Directory as specified in create directory
l_dir CONSTANT VARCHAR2(30) := 'READ_LOB_DIR';
-- Input File which is read word by word
l_fil CONSTANT VARCHAR2(30) := 'testfile.txt';
-- Separator Character between words is a BLANK (ascii = 32)
l_seb CONSTANT RAW(100) := UTL_RAW.CAST_TO_RAW(CHR(32));
-- Character at the end of the file is NEWLINE (ascii = 10)
l_sen CONSTANT RAW(100) := UTL_RAW.CAST_TO_RAW(CHR(10));
-- Pointer to the BFILE
l_loc BFILE;
-- Current position in the file (file begins at position 1)
l_pos NUMBER := 1;
-- Amount of characters have been read
l_sum BINARY_INTEGER := 0;
-- Read Buffer
l_buf VARCHAR2(500);
-- End of the current word which will be read
l_end NUMBER;
-- Return value
l_ret BOOLEAN := FALSE;
BEGIN
-- Mapping the physical file with the pointer to the BFILE
l_loc := BFILENAME(l_dir, l_fil);
-- Check if the file exists
l_ret := DBMS_LOB.FILEEXISTS(l_loc) = 1;
IF (l_ret) THEN
dbms_output.put_line('File ' || l_fil || ' in Directory ' || l_dir ||
' exists');
-- Open the file in READ_ONLY mode
DBMS_LOB.OPEN(l_loc, DBMS_LOB.LOB_READONLY);
LOOP
-- Calculate the end of the current word
l_end := DBMS_LOB.INSTR(l_loc, l_seb, l_pos, 1);
-- Process end-of-file
IF (l_end = 0) THEN
l_end := DBMS_LOB.INSTR(l_loc, l_sen, l_pos, 1);
l_sum := l_end - l_pos - 1;
DBMS_LOB.READ(l_loc, l_sum, l_pos, l_buf);
dbms_output.put_line(UTL_RAW.CAST_TO_VARCHAR2(l_buf));
EXIT;
END IF;
-- Read until end-of-file
l_sum := l_end - l_pos;
DBMS_LOB.READ(l_loc, l_sum, l_pos, l_buf);
dbms_output.put_line(UTL_RAW.CAST_TO_VARCHAR2(l_buf));
l_pos := l_pos + l_sum + 1;
END LOOP;
DBMS_LOB.CLOSE(l_loc);
ELSE
dbms_output.put_line('File ' || l_fil || ' in Directory ' || l_dir ||
' does not exist');
END IF;
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line('Error:' || SQLERRM);
DBMS_LOB.CLOSE(l_loc);
END;
The Text file content is...
Copyright 1996,2001 Oracle Corporation. All Rights Reserved
This file contains installation instructions for installing the
Oracle8 ODBC Driver software.
It is divided into four parts:
o Part I: Summary of systems supported by Oracle8 ODBC client
software
Lists the platforms on which the Oracle8 ODBC Client software can
be installed.
o Part II: Oracle8 ODBC Driver software.
Describes the files, and installation prerequisites for the Oracle8
ODBC driver software.
o Part III: Exploding the kit onto your system
Describes how to explode the kit onto your system hard drive.
o Part IV: Installation Instructions
Describes how to install the Oracle8 ODBC driver.
Part I: Systems supported by the Oracle8 client software
You can install the ODBC client software on any of the following systems:
o Windows 2000
o Windows NT X86
o Windows 95
o Windows 98
The Oracle8 ODBC Driver provides support for ODBC connections
from Windows 2000, Windows NT, Windows 95, and Windows 98 systems
to Oracle databases.
o Part II: Oracle8 ODBC Driver software.
Refer to the following files for information about the Oracle8 ODBC Driver:
LICENSE.TXT - Oracle8 ODBC Driver License Agreement. Read carefully
before installing and/or using this product. Enclosed in
your software distribution kit.
SQORA.HLP - A Window's Help file which is the primary reference
manual for the Oracle8 ODBC Driver.
ODBCRelnotes.WRI - The release notes for the Oracle8 ODBC Driver
which contains information which may have not been
included in the Help file.
Installation Prerequisites
See the Oracle8 ODBC Driver release notes (ODBCRelnotes.WRI),
for a complete list of software products required and their versions.
Time Required
The installation of the Oracle8 ODBC Driver takes approximately 5
minutes. The actual time may be shorter or longer, depending upon
your hardware configuration.
Disk Space Required
The Oracle8 ODBC driver installation requires approximately 2
megabytes of available storage space. The space required depends upon
what files you already have installed. The installation procedure
checks to see if you have enough available disk space. If you do not,
the installation fails.
Part III: Exploding the Kit onto your system
Expand the self-extracting archive file onto your hard drive.
C:\> ORA8174.EXE
Part IV: Installation Instructions
Oracle8 ODBC Driver 8.1.7.4.0
This section assumes the following:
1. MS Windows 2000, Windows NT, Windows 95 or Windows 98 is running.
2. Oracle Universal Installer shipping with 8.1.7 has already been
installed on your system.
3. Part III has been completed.
Software fixes:
Refer to release notes (ODBCRelnotes.wri) for a complete list of
Software fixes.
Installation Instructions
Once the self-extracting archive file ORA8174.EXE has been
exploded it will create an installable directory structure
onto your hard drive. Run the Oracle Universal Installer from
your local drive.
1. On the screen "File Locations" use the "Browse" button of
the source path to choose the file 'products.jar' from the
folder that ORA8174.EXE was extracted to. Choose 'Next'.
2. You will receive a warning that some of the dependencies of
this product are not found in the staging area. This warning
is OK. The ODBC driver depends on the Net8 Client being already
installed on the system. Answer 'Yes' to continue.
Oracle is a registered trademark of Oracle Corporation.
Microsoft, MS are registered trademarks of Microsoft Corporation.
Microsoft Windows, Windows NT, Windows 95, Windows 98 and Open Database
Connectivity are trademarks of Microsoft Corporation.
All other trademarks and registered trademarks are the property
of their respective owners.
The output was...
File testfile.txt in Directory READ_LOB_DIR exists
Copyright
1996,2001
Oracle
Corporation.
All
Rights
Reserved
This
file
contains
installation
instructions
for
installing
the
Oracle8
ODBC
Driver
software.
It
is
divided
into
four
parts:
o
Part
I:
Summary
of
systems
supported
by
Oracle8
ODBC
client
Error:ORA-21560: argument 2 is null, invalid, or out of range
I want to diplay/view as per file content format from the file under that specified directory.
Have any other method / any help or suggestions would be really appreciated.I changed the code like...
CREATE OR REPLACE Procedure READ_FILE_LOB_tmp IS
-- Input Directory as specified in create directory
l_dir CONSTANT VARCHAR2(30) := 'READ_LOB_DIR';
-- Input File which is read word by word
l_fil CONSTANT VARCHAR2(30) := 'testfile.txt';
-- Separator Character between words is a BLANK (ascii = 32)
l_seb CONSTANT RAW(100) := UTL_RAW.CAST_TO_RAW(CHR(32));
-- Character at the end of the file is NEWLINE (ascii = 10)
l_sen CONSTANT RAW(100) := UTL_RAW.CAST_TO_RAW(CHR(10));
-- Pointer to the BFILE
l_loc BFILE;
-- Current position in the file (file begins at position 1)
l_pos NUMBER := 1;
-- Amount of characters have been read
l_sum BINARY_INTEGER := 0;
-- Read Buffer
l_buf VARCHAR2(4000);
-- End of the current word which will be read
l_end NUMBER;
-- Return value
l_ret BOOLEAN := FALSE;
BEGIN
-- Mapping the physical file with the pointer to the BFILE
l_loc := BFILENAME(l_dir, l_fil);
-- Check if the file exists
l_ret := DBMS_LOB.FILEEXISTS(l_loc) = 1;
IF (l_ret) THEN
dbms_output.put_line('File ' || l_fil || ' in Directory ' || l_dir ||
' exists');
-- Open the file in READ_ONLY mode
DBMS_LOB.OPEN(l_loc, DBMS_LOB.LOB_READONLY);
LOOP
-- Calculate the end of the current word
l_end := DBMS_LOB.INSTR(l_loc, l_sen, l_pos, 1);
-- Process end-of-file
IF (l_end = 0) THEN
EXIT;
END IF;
-- Read until end-of-file
l_sum := l_end - l_pos;
DBMS_LOB.READ(l_loc, l_sum, l_pos, l_buf);
dbms_output.put_line(UTL_RAW.CAST_TO_VARCHAR2(l_buf));
l_pos := l_pos + l_sum + 1;
END LOOP;
DBMS_LOB.CLOSE(l_loc);
ELSE
dbms_output.put_line('File ' || l_fil || ' in Directory ' || l_dir ||
' does not exist');
END IF;
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line('Error:' || SQLERRM);
DBMS_LOB.CLOSE(l_loc);
END;
Now its working fine with one addtional line...
The file content is...
This is My Content
This is My Content
This is My Content
This is My Content
This is My Content
But The output was...
File testfile.txt in Directory READ_LOB_DIR exists
This is My Content
This is My Content
This is My Content
This is My Content
This is My Content
here, i want to delete that additonal line...? -
You can't access your own content from the top menu anymore?
Apple made a monumental FAIL decision for me regarding the new Apple TV.
They really want to force feed their iTunes store to us so badly that they have now stripped all of your own content from the main menu.
No longer can you go to TV Shows and watch... well, YOUR TV shows. Apple buried all of your personal content a couple of menus deep. In fact, the entire Music category is Now gone! Unbelievable!
And I can't use album covers for a screen saver anymore? That was a great feature! i guess they don't want music associated with a TV device. Very bad decision in my opinion.
This unit is a step BACK, not forward.
Am is missing something? is there a way to get this content back to the front so I can easily access my stuff?Frozo wrote:
Apple made a monumental FAIL decision for me regarding the new Apple TV.
agreed
They really want to force feed their iTunes store to us so badly that they have now stripped all of your own content from the main menu.
agreed. the appletv is now an itunes store device (with your own content as a side issue).
No longer can you go to TV Shows and watch... well, YOUR TV shows. Apple buried all of your personal content a couple of menus deep. In fact, the entire Music category is Now gone! Unbelievable!
agreed
And I can't use album covers for a screen saver anymore? That was a great feature! i guess they don't want music associated with a TV device. Very bad decision in my opinion.
agreed
This unit is a step BACK, not forward.
agreed
Am is missing something? is there a way to get this content back to the front so I can easily access my stuff?
you're not missing anything unfortunately. -
From an iPhone 5, I receive the following error message when trying to download content from a radio show app: "Alert Could not parse feed." How do I fix?
Since you're using a 3rd party app, suggest contacting the app developer or looking at their support site for help.
-
I keep receiving an error 8268 when downloading content from the iTunes Store. Does anyone have solution for it?
contact iTunes Customer support to resolve this issue. They will provide you a fresh copy of the song
-
I'm about to transfer the contents of my existing HDD in my (dead PSU) iMac to another computer. I'm just wanting to know if and how I will be able to access my files and documents from the old hard drive once I've made the backup?
You are not going to be able to run your old system from the backup on this old computer as the hardware is incompatible.
You need to get a new computer or a refurbished one. -
Error in the sample application notes
Hi,
I am trying to download the sample application demonstrating the usage of group in OID, at the following link.
http://www.oracle.com/technology/sample_code/products/id_mgmt/javaapi/samplegroup/readme.html#configure
However, I am unable to find the link, wherein I can download the application.
Please help!
thanks in advance.Hi,
have you checked transaction SM13?
if so, what information have you got there?
Best regards.
Edited by: Pablo Casamayor on Sep 30, 2011 3:33 PM -
Error: Page Metadata could not be obtained from the Portal database.
Hi,
Maybe some one can help me with this.
After my installation (oas portal 10.1.4) I changed my URL in portal and sso.
modplsql : http://<webserver>:<port>/pls/portal/htp.p?cbuf=test --> its working fine. I got test
Parallel Page Engine (PPE) : http://<webserver>:<port>/portal/page --> its working fine. I got PPE is working.
http://login.hostname:port/oiddas --> It`s working fine
http://login.hostname:port/sso --> It`s working fine
http://hostname:port/portal/page/portal/TOPLEVELSITE --> It's not working I got in firefox Error: Page Metadata could not be obtained from the Portal database. In explorer i got HTTP 500 error.
I checked my application.log and I got this:
**portal: id=45342345678,1 ContentFetcher Unexpected Exception Request Failed:oracle.webdb.dispatcher.DispatcherException: I/O Error dispatching request name=content-fetcher19 label=pageMeta url=http://<webserver>:port/portal/pls/portal/!PORTAL.wwpob_page.show/TOPLEVELSITE time=1ms timeout=60000ms process=Dispatching**
Maybe some one can help me to solve this threat.
Thank you.C@rlitos wrote:Edited by: C@rlitos on Sep 30, 2009 6:14 PM
Hi!!
To register the url in portal I used this doc 434795.1 - 558634.1 from metalink.
http://download-west.oracle.com/docs/cd/B14099_17/core.1012/b13998/variants.htm#CBDBDJHD
I verified and i got this:
LSNR_TOKEN
SITE_TOKEN
SITE_ID
LS_LOGIN_URL
URLCOOKIE_VERSION
ENCRYPTION_KEY
ENCRYPTION_MASK_PRE
ENCRYPTION_MASK_POST
U
oldurl.com:7781
XY776FQWDCY4EFF
8AC54EFF
http://oldurl.com:7780/pls/orasso/orasso.wwsso_app_admin.ls_login
v1.2
2FWERFW768767866
6B4DEERWF87W87897E89WRF897W3FC9
F0FEC6AREW76786WEFWER76F8968695
N
newurl.com
1RG8IYA4F9D2E30A
F9D2E233A
http://newurl.com/pls/orasso/orasso.wwsso_app_admin.ls_login
v1.2
B32852345661513F0
1A5DTR546EYEYEHEHSVSGFB44C
A33RTWERGERGERGREFWERF8
N
I havent create new token values.
Edited by: C@rlitos on Sep 30, 2009 6:14 PMHave you configured your Infra with a new hostname on a different port ?
Unless, you had installed your OAS with custom ports, and have not used the default ports for the components, your lsnr_token for the newurl has a problem. orasso and sso should be configured at 7777, and by default they configure at that port. That means that your newURL should be pointing to http://newurl.com:7777/pls/orasso/orasso.wwsso_app_admin.ls_login for the ls_login_url.
This might have happened due to some error in registering your portal with the SSO. Have you used custom ports for your installations?
Additionally, did you configure your newurl on port 80? -
Problems importing the sample applications into htmldb 2.0
When I try to install the sample applications from the htmldb studio page into the htmldb 2.0 I get the following error.
1 error has occurred
File is not a valid HTML DB application export file.
I am trying to load the tracker.zip file. I have read that the applications are upward compatable.
kenwas told on the htmldb 2 tech day that you did not need to unzip the file but will try to do that now.
Thanks ken. -
TS1424 Reoccurring Problems Downloading Content From the iTunes Store
I started getting the Error (-45054), so I went through the process of deleting the SC Info folder, and I'm still have problems downloading content from the iTunes Store. A new error saying "You don't have write access...ect" pops up. How do I fix this?
contact iTunes Customer support to resolve this issue. They will provide you a fresh copy of the song
Maybe you are looking for
-
Countless .png files after converting pdf to dwg
After converting a .pdf file to a .dwg file using the export feature in adobe illustrator, I find that as many as 500 .png files come with the newly made .dwg after the conversion is complete. My question is, why do all these pictures come with the .
-
1 Ipod 2 libraries and its not sync
Hi I have two diferents libraries in 2 computers and the problem I can´t sync the ipod for the second library it shows a message that it say, that the ipod it`s logged to the first library. i tried to export the .XML files from the first computer and
-
I am having an issue with working with lists of objects and would greatly appreciate some help on this. would like to cast indirectlist to arraylist. I have a collection of data declared as below. private Collection<PersistableTableData> tableData =
-
I play with an old game D2X. This game need an american Keyboard. I am french so I have to switch from french to american, if not, the game does not recognise the keys 1->0 nor ",". Until OSX 10.4 it works very fine. But on OSX 10.5, if everything ap
-
My MacBook uses Mac OS X Version 10.6.8. I am unable to access some websites, such as Facebook and Google, but I can access other sites such as MSN and Amazon. I have emptied the Safari cache with no change. Appreciate any help in solving this prob