Java XDK Installation on Oracle 9i
I noticed that the cheat sheets contain installation instructions
that are not found in the installation document.
Can someone please advise if these instructions should be
performed as well?
That is, do I have to define XML_HOME, execute xdkload.bat, etc.?
This is the content of oratab:
This file is used by ORACLE utilities. It is created by root.sh
and updated by the Database Configuration Assistant when creating
a database.
A colon, ':', is used as the field terminator. A new line terminates
the entry. Lines beginning with a pound sign, '#', are comments.
Entries are of the form:
$ORACLE_SID:$ORACLE_HOME:<N|Y>:
The first and second fields are the system identifier and home
directory of the database respectively. The third filed indicates
to the dbstart utility that the database should , "Y", or should not,
"N", be brought up at system boot time.
Multiple entries with the same $ORACLE_SID are not allowed.
*:/oracle/HDV/920_64:N
Rgds,
NK
Similar Messages
-
Oracle XML Developers Kit (XDK) installation
Hi ,
we have Oracle 10.1.0.3 client installed on Solris X86. client facing some issues in using XDK utilities XML parse etc..
they saying that XDK is missing in the installed software and we should installed the missing XDK s/w.
i have downloaded the SDK for solaris but didn't find any installation doc or setup file.
i would be thankful if anyone can suggest "how to install XDK on given oracle home" , Since its something very new to me.
Thanks in advance ,
Regards,
GufranPl see if MOS Doc 171658.1 (How To Install and Uninstall the XML Developers Toolkit (XDK for PL/SQL which includes XDK for Java)) can help
HTH
Srini -
Java Plug-in problems following installation of Oracle 9i
I have been experiencing repeatable problems with the Sun Java Plug-in following installation of Oracle 9i on our servers. Our installation of the Sun JDK 1.3.1_04 or higher seems to conflict with the Oracle installation. Following the install, navigating to any web page that includes an applet reference results in a plug-in error stating that it cannot locate the registry key HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.3.1_01. The key does exist however for the installed version of the plug-in. ie [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.3.1_07]. My only workaround to fix this is to add a new registry key 1.3.1_01 that contains the contents of the registry key for the installed plug-in (for example 1.3.1_07).
The Oracle installation only inlcludes the JRE, which AFAIK isn't referenced outside the ORACLE_HOME directory. The internal JVM couldn't be causing the conflict either. Might be an installer bug of some sort, but not one I have heard of.
-
SAP NW7.0 SR3 Java AddIn Installation failed at "Import Java dump"
Dear all,
I get an error at Java AddIn Installation SAP Netweaver 7.0 SR3
(Software Life-Cycle Option -> Java Add-In for ABAP -> Oracle ->
Central System ->)
The first installation step "Central Services Instance (SCS) Java Add-
In" I have installed it without errors.
The Installation failed at 2nd step "Database Instance Java Add-In" at phase 11
of 14 "Import java dump":
26.05.09 15:16:46 com.sap.inst.jload.Jload main
INFO: Jload -sec
Q2B,jdbc/pool/Q2B,/usr/sap/Q2B/SYS/global/security/data/SecStore.properties,/usr/sap/Q2B/SYS/global/security/
data/SecStore.key -
dataDir /usr/sap/swdc/51033513/DATA_UNITS/JAVA_EXPORT_JDMP -
job /tmp/sapinst_instdir/NW04S/LM/AS-JAVA/ADDIN
/ORA/CENTRAL/DB/IMPORT.XML -log jload.log
26.05.09 15:16:47 com.sap.inst.jload.Jload main
SEVERE: couldn't connect to DB
26.05.09 15:16:47 com.sap.inst.jload.Jload logStackTrace
SEVERE: java.sql.SQLException: Io exception: The Network Adapter could
not establish the connection
at oracle.jdbc.driver.DatabaseError.throwSqlException
(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException
(DatabaseError.java:146)
at oracle.jdbc.driver.DatabaseError.throwSqlException
(DatabaseError.java:255)
at oracle.jdbc.driver.T4CConnection.logon
(T4CConnection.java:387)
at oracle.jdbc.driver.PhysicalConnection.<init>
(PhysicalConnection.java:420)
at oracle.jdbc.driver.T4CConnection.<init>
(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection
(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect
(OracleDriver.java:801)
at
com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection
(NativeConnectionFactory.java:215)
at com.sap.sql.connect.OpenSQLDataSourceImpl.createConnection
(OpenSQLDataSourceImpl.java:522)
at com.sap.sql.connect.OpenSQLDataSourceImpl.getConnection
(OpenSQLDataSourceImpl.java:276)
at com.sap.inst.jload.db.DBConnection.connectViaSecureStore
(DBConnection.java:105)
at com.sap.inst.jload.db.DBConnection.connect
(DBConnection.java:149)
at com.sap.inst.jload.Jload.main(Jload.java:580)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.offline.OfflineToolStart.main
(OfflineToolStart.java:81)
the database is up and running, the Oracle Listener is also working well.
Any idea??
Thanks so much in advance!
Best Regards,
GerdHi Sunny, hi Markus!
many thanks for your hints!
I've just solved the problem. The problem was, our Listener was not configured correctly.
I've adjusted the listener.ora, tnsnames.ora to the correct hostname - cause, we had a hostname-switch last month and I had forgotten to adapt the Listener...
now the Listener is running as well:
mcho35au:oraq2b 120% lsnrctl status LISTENER_Q2B
LSNRCTL for Solaris: Version 10.2.0.4.0 - Production on 30-MAY-2009
09:52:48
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=Q2B.WORLD))
STATUS of the LISTENER
Alias LISTENER_Q2B
Version TNSLSNR for Solaris: Version 10.2.0.4.0 -
Production
Start Date 30-MAY-2009 09:52:15
Uptime 0 days 0 hr. 0 min. 32 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/Q2B/102_64/network/admin/listener.ora
Listener Log
File /oracle/Q2B/102_64/network/log/listener_q2b.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=Q2B.WORLD)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=Q2B)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=mcho35au)(PORT=1527)))
Services Summary...
Service "Q2B" has 1 instance(s).
Instance "Q2B", status UNKNOWN, has 1 handler(s) for this service...
Service "Q2B.WORLD" has 1 instance(s).
Instance "Q2B", status READY, has 1 handler(s) for this service...
Service "Q2B_XPT.WORLD" has 1 instance(s).
Instance "Q2B", status READY, has 1 handler(s) for this service...
The command completed successfully
meanwhile the step "Import java dump" has finished successfully!
Thanks to all!
Best Regards,
Gerd
Edited by: Gerd Schuster on May 30, 2009 10:29 AM -
Error during the installation of ORACLE 10g for SAP MDM 5.5
Hi all,
I am installing ORACLE 10g on a SUSE LES 9 for a future MDM 5.5 system. While I launch the Installer I get the following error:
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2007-09-26_07-11-46AM. Please wait ...oracle@mucsapt2:/home/lrougkal/OraDb10g/database> Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2007-09-26_07-11-46AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at sun.security.action.LoadLibraryAction.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
at sun.awt.DebugHelper.<clinit>(Unknown Source)
at java.awt.Component.<clinit>(Unknown Source)
I have installed all the required packages from SUSE :
binutils-2.15.90.0.1.1-32.10
gcc-3.3.3-43.41
gcc-c++-3.3.3-43.41
glibc-2.3.3-98.61
gnome-libs-1.4.1.7-671.1
libstdc++-3.3.3-43.41
libstdc++-devel-3.3.3-43.41
make-3.80-184.1
pdksh-5.2.14-780.7
sysstat-5.0.1-35.7
xscreensaver-4.16-2.6
Any ideas?
Thanks in advance,
LoukasHi Elmar,
I have checked the packages and the XFree86-libs-4.3.99 is not installed. I guess I will have to install it.
Now your question about oracle user. I am not sure if you have performed any SAP MDM installation with ORACLE RDBMS but the installation guide is totally different than the normal SAP inst guides. Indeed someone needs to install separately SAP MDM and ORACLE and in my installation I do not install NetWeaver since it is not mandatory for the testing phase of the project. You can have a look at the guide (it is very poor -no reference to ORACLE details):
https://websmp105.sap-ag.de/~sapidb/011000358700000271882007E
So the official ORACLE inst gudie says to install the ORACLE software with the oracle user.
Rgds,
Louka -
Installation of Oracle AS 10g on Red Hat ES 3.0
Installation of Oracle AS 10g on RedHat ES 3.0 (All issues are cleared and u will b done with no error like Java Configuration Failed and make files errors)
Red Hat Enterprise Linux 3 Custom Installation
Copy from OTN Note
Start
Oracle 10g is certified to run the base release of Red Hat Enterprise Linux 3 (Advanced Server and Enterprise Server) without updates. If you have update CDs, you can use the boot CD from the update instead of the boot CD from the base release to automatically apply all updates during the installation. All updates from Red Hat are supported by Oracle.
1. Boot the server using the first CD.
o You may need to change your BIOS settings to allow booting from the CD.
2. The boot screen appears with the boot: prompt at the bottom of the screen.
o Select Enter to continue with a graphical install on the console. (For other installation methods and options, refer to the Red Hat Installation Guide.)
o The installer scans your hardware, briefly displays the Red Hat splash screen, and then begins a series of screen prompts.
3. Language Selection
o Accept the default.
4. Keyboard Configuration
o Accept the default.
5. Welcome Screen
o Click on Next.
6. Mouse Configuration
o Accept the default.
7. Installation Type
o Select Custom.
8. Disk Partitioning Setup
o A thorough treatment of disk partitioning is beyond the scope of this article, which assumes that you are familiar with disk partitioning methods.
(WARNING: Improperly partitioning a disk is one of the surest and fastest ways to wipe out everything on your hard disk. If you are unsure how to proceed, stop and get help, or you will risk losing data!)
This article uses the following partitioning scheme, with ext3 for each filesystem:
The 9GB disk on the first controller (/dev/sda) will hold all Linux and Oracle software and contains the following partitions:
- 100MB /boot partition
-1,500MB swap partitionâSet this to at least twice the amount of RAM in the system but to no more than 2GB (32-bit systems do not support swap files larger than 2GB). If you need more than 2GB of swap space, create multiple swap partitions.
-7,150MB root partitionâ This partition will be used for everything, including /usr, /tmp, /var, /opt, /home, and more. This was done purely to simplify installation for the purposes of this guide. A more robust partitioning scheme would separate these directories onto separate filesystems.
9. Boot Loader Configuration
o Accept the default.
10. Network Configuration
o It is usually best to configure database servers with a static IP address. To do so, click on Edit.
o A pop-up window appears. Uncheck the Configure using DHCP box, and enter the IP Address and Netmask for the server. Be sure that Activate on boot is checked, and click on OK.
o In the Hostname box, select manually and enter the hostname.
o In the Miscellaneous Settings box, enter the remaining network settings.
11. Firewall Configuration
o For the purposes of this walk-through, no firewall is configured. Select No firewall.
12. Additional Language Support
o Accept the default.
13. Time Zone Selection
o Choose the time settings that are appropriate for your area. Setting the system clock to UTC is usually a good practice for servers. To do so, click on System clock uses UTC.
14. Set Root Password
o Enter a password for root, and enter it again to confirm.
15. Package Group Selection
o Select only the package sets shown here. Leave all others unselected.
o Desktop
- X Window System
- Gnome
- KDE
- See my comments in the RHES 2.1 section regarding choice of GUI.
o Applications
- Editors
- Graphical Internet
o Servers
- Do not select anything in this group.
o Development
- Development Tools
o System
- Administration Tools
o Red Hat Enterprise Linux
- Do not select anything in this group.
o Miscellaneous
- Legacy Software Development
o Click on Next to proceed.
16. About to Install
o Click on Next.
17. Installing Packages
o Software will be copied to the hard disk and installed. Change disks as prompted, and click on Next when the installation is complete.
18. Graphical Interface (X) Configuration
o Accept the defaults unless the installer does not recognize your video card. If your video card is not recognized, you will not be able to continue.
19. Monitor Configuration
o Accept the default if the installer correctly identifies your monitor. Otherwise, select a compatible monitor from the list.
20. Customize Graphical Configuration
o Accept the defaults.
21. Congratulations
o Remove the installation media from the system, and click on Next.
22. The system automatically reboots and presents a new welcome screen.
o Click on Next.
23. License Agreement
o Read the license agreement. If you agree to the terms, select Yes, I agree to the License Agreement and click on Next.
24. Date and Time
o Set the Date and Time.
o If you want to use an NTP server (recommended), select Enable Network Time Protocol and enter the name of the NTP server.
25. User Account
o Create an account for yourself.
o Do not create an account for oracle at this time. Creating the oracle account is covered later in this section.
26. Red Hat Network
o If you want to use or activate your Red Hat Network account now, accept the default, click on Next, and follow the product activation instructions that accompanied your Red Hat product.
27. Additional CDs
o Click on Next.
28. Finish Setup
o Click on Next.
29. A graphical login screen appears.
30. Congratulations! Your Linux software is now installed.
End of OTN Note
Now just install compat-db-4.0.14-5.i386.rpm
Gnome-libs-1.4.1.2.90-34.1.i386.rpm
Libpng10-1.0.13-8.i386.rpm
ORBit-0.5.17-10.4.i386.rpm
Install patch 3006854
Copy libcwait.so file from /etc to /lib
And make links
mv /usr/bin/gcc /usr/bin/gcc323
mv /usr/bin/g++ /usr/bin/g++323
ln âsf /usr/bin/gcc296 /usr/bin/gcc
ln âsf /usr/bin/g++296 /usr/bin/g++
Kernel Settings as per requirement of ORACLE AS 10g in /etc/sysctl.conf
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 256 65000 200 256
fs.file-max = 131072
net.ipv4.ip_local_port_range = 1024 65000
kernel.msgmnb=65556
kernel.msgmni=4096
Then restart the computer
Login with Oracle user
now path setting as
I have done this by make two environment files
Infra.env
TMP=/tmp
Export TMP
TMPDIR=$TMP
Export TMPDIR
ORACLE_BASE=/oracle
Export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/appsrv/infra
Export ORACLE_HOME
ORACLE_SID=asdb (if u will not define SID here then while starting database u will face an error ORA-07217:sltn:environment variable cannot be evaluated)
Export ORACLE_SID
PATH=/usr/bin:/usr/sbin
Export PATH
PATH=$PATH:$ORACLE_HOME/bin (u can include command paths like dcm as u needed)
Export PATH
LD_ASSUME_KERNEL=2.4.19
Export LD_ASSUME_KERNEL
Copy this file with name as.env and change ORACLE_HOME from infra to as.
. ./infra.env
DISPLAY=localhost:0.0; export DISPLAY
Xhost +
Now u can check that DISPLAY is ok by run the command xclock if clock appears then ok else set DISPLAY with root user ok
Start installation from CD 1 .
. ./runInstaller
Press Y (There is no need to disturb, upgrade, degrade any package)
Press Y
Installation will start while installing and reaches at ~50% then go to /oracle/appsrv/infra/bin open relink file and change at line # 50 i.e. remove 2 brackets
] âo [ and at line # 102 make= /usr/ccs/bin/make to /usr/bin/make remove ccs and save the file
There will no error in installation in infrastructure
Same as done with relink file in Middle tier installation. I would like to turn ur attention for a serious problem no one asked about it. Here u have seen that a script make 3 file in /usr/local/bin for infrastructure and middle tier when u finished infrastructureâs installation plz rename that 3 files as
Mv coredb coredb-infra
Mv dbhome dbhome-infra
Mv ora ⦠oraâ¦-infra
If u overwrite that files by creating same name of middle tier files no problem.
When problem comes?
AS will work fine but when u have to install patches on AS then problem comes if u have overwrite that files. So plz rename them before creation of same files of middle tier. Thanx
Zeeshan
@CES
[email protected]Hi,
I tried uname -a and it returns the following:
Linux NLABLINUX 2.4.21-20.EL.c0 #1 Thu Sep 9 02:07:03 EDT 2004 i686 i686 i386 GNU/Linux
We have the following problems:
1. I am having a box running RHEL 3.0 (got from centos.org). I have Oracle 10g running ok. Now I tried to install ASMLIB downloaded from technet. The files are:
rpm -Uvh oracleasm-2.4.21-EL-1.0.3-1.i686.rpm \
oracleasmlib-1.0.0-1.i386.rpm \
oracleasm-support-1.0.3-1.i386.rpm \
When I tried to install these files, I got the following error:
Checking for Red Hat enterprise kernel: [FAILED]
Also when I try to run /etc/init.d/oracleasm , I get the same error
Checking for Red Hat enterprise kernel: [FAILED]
2. We created 4 raw partitions /dev/raw/raw1 - 4 using raw command.
[root@rcdell root]# ls -l /dev/raw/raw[1,2,3,4]
crw-rw---- 1 oracle dba 162, 1 Sep 9 11:05 /dev/raw/raw1
crw-rw---- 1 oracle dba 162, 2 Sep 9 11:05 /dev/raw/raw2
crw-rw---- 1 oracle dba 162, 3 Sep 9 11:05 /dev/raw/raw3
crw-rw---- 1 oracle dba 162, 4 Sep 9 11:05 /dev/raw/raw4
then tried this:
SYS at +ASM on 29-DEC-04 >create diskgroup dg1 normal redundancy
2 failgroup c1 disk '/dev/raw/raw1'
3 failgroup c2 disk '/dev/raw/raw2';
create diskgroup dg1 normal redundancy
ERROR at line 1:
ORA-00600: internal error code, arguments: [kfdsk::grpmatch], [1],
[3939617408], [], [], [], [], []
ORA-00600: internal error code, arguments: [kfgrpJoin2], [5], [], [], [], [],
ORA-15076: Emulating I/O errors on the OSM disk
ORA-15076: Emulating I/O errors on the OSM disk
ORA-15076: Emulating I/O errors on the OSM disk
ORA-15076: Emulating I/O errors on the OSM disk
Any help is appreciated.
Irshad A. Buchh
Senior Principal Consultant -
Installation of Oracle Database 10g 10.2.0.3 on Windows 2003 Server
Hi Guys,
We have to install Oracle Database 10g 10.2.0.3 on Windows 2003.
I read on net, metalink and OTN as well and it seems there is no single 10.2.0.3 setup available to do so.
One has to upgrade from earlier version to 10.2.0.3.
Is that so? Is this the only way?
I mean if we want new and fresh 10.2.0.3 then don't we have installer for it?
In this case we will have to install 10.1.0.2 and then upgrade? (we have 10.1.0.2 installable with us)
And if at all that is the only path available then for 10.2.0.3 on Windows 32 bit - Patchset 5337014 i.e. p5337014_10203_WINNT.ZIP from metalink is the correct patch?
Thanks in advance!
Av.Hi guys,
I donwloaded patchset - 5337014, and in its readme it is specified to download and install patch - 5601428.
So I downloaded 5601428 and set ORACLE_HOME and then fired command -
D:\oracle_pathces\5601428>optach apply
and i got error saying -
This Oracle Home does not have components/versions required by the patch.
ERROR: OPatch failed during pre-reqs check.
Following is the command and its output,
D:\Oracle_Patches\5601428>opatch apply
"set PERL5LIB=D:\ORACLE\PRODUCT\10.1.0\DB_1\perl\5.6.1\lib"
"D:\ORACLE\PRODUCT\10.1.0\DB_1\perl\5.6.1\bin\MSWin32-x86\perl.exe D:\oracle\pro
duct\10.1.0\db_1\OPatch\opatch.pl ..."
OPatch Version 1.0.0.0.48
Perl Version 5.006001
Oracle Home = D:\ORACLE\PRODUCT\10.1.0\DB_1
Location of Oracle Inventory = D:\ORACLE\PRODUCT\10.1.0\DB_1\inventory
Oracle Universal Installer shared library = D:\ORACLE\PRODUCT\10.1.0\DB_1\oui\li
b\win32\oraInstaller.dll
Path to Java = "D:\ORACLE\PRODUCT\10.1.0\DB_1\jdk\jre\bin\java.exe"
Location of Oracle Inventory Pointer = N/A
Location of Oracle Universal Installer components = D:\ORACLE\PRODUCT\10.1.0\DB_
1\oui
Required Jar File under Oracle Universal Installer = jlib\OraInstaller.jar
D:\oracle\product\10.1.0\db_1\OPatch\opatch.pl version: 1.0.0.0.48
Copyright (c) 2001,2002,2003 Oracle Corporation. All Rights Reserved.
This Oracle Home does not have components/versions required by the patch.
ERROR: OPatch failed during pre-reqs check.
D:\Oracle_Patches\5601428>
Probably thought that following is the culprit -
Location of Oracle Inventory Pointer = N/A
so fired -
D:\Oracle_Patches\5601428>optach lsinventroy
gave following output -
D:\Oracle_Patches\5601428>opatch lsinventory
"set PERL5LIB=D:\ORACLE\PRODUCT\10.1.0\DB_1\perl\5.6.1\lib"
"D:\ORACLE\PRODUCT\10.1.0\DB_1\perl\5.6.1\bin\MSWin32-x86\perl.exe D:\oracle\pro
duct\10.1.0\db_1\OPatch\opatch.pl ..."
Using ORACLE_HOME/oui to look up oui libs...
Oracle Home = D:\ORACLE\PRODUCT\10.1.0\DB_1
Location of Oracle Inventory = D:\ORACLE\PRODUCT\10.1.0\DB_1\inventory
Oracle Universal Installer shared library = D:\ORACLE\PRODUCT\10.1.0\DB_1\oui\li
b\win32\oraInstaller.dll
Path to Java = "D:\ORACLE\PRODUCT\10.1.0\DB_1\jdk\jre\bin\java.exe"
Location of Oracle Inventory Pointer = N/A
Location of Oracle Universal Installer components = D:\ORACLE\PRODUCT\10.1.0\DB_
1\oui
Required Jar File under Oracle Universal Installer = jlib\OraInstaller.jar
Accessing inventory... This may take up to 300 seconds.
(retry 10 times, delay 30 seconds each time)
""D:\ORACLE\PRODUCT\10.1.0\DB_1\jdk\jre\bin\java.exe" -classpath "D:\oracle\prod
uct\10.1.0\db_1\oui\jlib\OraInstaller.jar;D:\oracle\product\10.1.0\db_1\oui\jlib
\srvm.jar;D:\oracle\product\10.1.0\db_1\OPatch\jlib\opatch.jar;D:\oracle\product
\10.1.0\db_1\oui\jlib\xmlparserv2.jar;D:\oracle\product\10.1.0\db_1\oui\jlib\sha
re.jar;." -Dopatch.retry=10 -Dopatch.delay=30 opatch/LsInventory "D:\oracle\pr
oduct\10.1.0\db_1\oui" "d:\oracle\product\10.1.0\db_1" opatch.pl 1.0.0.0.48 FALS
E"
Retrieving inventory.
There is no Interim Patch
D:\oracle\product\10.1.0\db_1\OPatch\opatch.pl version: 1.0.0.0.48
Copyright (c) 2001,2002,2003 Oracle Corporation. All Rights Reserved.
OPatch succeeded.
So thought is my opatch the culprit? Its version as seen in above dump is - 1.0.0.0.48, so is that causing any problem? And if yes, then how to get it resolved?
FYI: OS - Win2003, DB - 10.1.0.2.0
Can any one help in this?
Thanks!
Av. -
How to import custom java jar/class into oracle to be used in java proc ?
Hi
I would like to know how to import custom java jar/class files into oracle to be used in java stored procedure.
I am developing a oracle pl/sql procedure to call java program. The java program will be created as procedure and will be published.
But, my question is that I do have a other external jar/class file that need to be imported into this java program.
example
raise_sal.java
import java.util.*;
import oracle.sql.*;
<<reference other java programs >>
import cmpmsgsvc.xxxx.* ;
import cmpmsgsvc.yyyy.* ;
import cmpmsgsvc.zzzz.* ;
how do I import the cmpmsgsvc jar/class file into oracle so that I don't have any
compilation errros on raise_sal.java program ??
what are the steps to import/compile and validate to do this?
thanks for your help in advance.
Thanks
rrb.Kuassi
Problem is that, I have 6 jar files that are needed to be included in the main java program. And, there are more than 50+ classes, propertiers in those 6 jar files.
It might be not good idea to have all those 50+ classes in the production database.
Is there anyway that I keep all those 6 jar files in unix box (our's is oracle erp installation with oracle being installed on unix box) and just refer them in the main java program. I mean database will be loaded with main java program and it should able to refer other 6 jar files from unix.
if we create a directory and keep all jar files in there and include that directory in classpath variable, does this works? or what is other method?
Please let me know.
Thanks -
Hi ,
I have installed ODI 11.1.1.7 in unix environment and selected Java EE installation type(unchecked Developer and standalone installation types).
The installation is working fine with the EE agent.
While searching for the startcmd.sh file to manually export some topology components, I found out that the oracledi/agent folder is not present in odi home.
My question is , is the oracledi/agent folder not created if I select Java EE installation only or if I have missed something during installation?
Is there any other way to manually export components using the EE agent (not using the startcmd.sh)?The documentation states: "The command line scripts, which are required for performing the tasks described in this section, are only available if you have installed the Oracle Data Integrator Standalone Agent. See the Oracle Fusion Middleware Installation Guide for Oracle Data Integrator for information about how to install the Standalone Agent."
http://docs.oracle.com/cd/E21764_01/integrate.1111/e12643/appendix_a.htm
See A.1.3 -
Hello Everyone,
I get the following error in the <request> element of my XML result from any XSQL page. This always occurs when the page is linked from a JSP page using a simple hyperlink, accessed with <jsp:forward> or accessed with <jsp:include>. This occurs both when I include a request parameter and when I don't.
If I access the XSQL page directly through its URL in my browser or as a link from a regular HTML page this does not occur.
However, once I link or include to the XSQL page and get the error I continue to get it until I stop and restart the server.
Oracle XDK Java 9.2.0.2.0 Production
Development Environment: WebSphere Studio Application Developer 4.02
OS: NT 4.0 SP6
Even this simple Hello World! example produces the error when linked from a JSP page:
<?xml version="1.0"?>
<page connection="ghms" xmlns:xsql="urn:oracle-xsql">
<xsql:include-request-params/>
<xsql:query>
SELECT 'Helo World!' AS text
FROM DUAL
</xsql:query>
</page>
Error:
<request>java.lang.NullPointerException
at oracle.xml.xsql.XSQLHttpUtil.HttpRequestAsXMLDocument(XSQLHttpUtil.java:116)
at oracle.xml.xsql.XSQLServletPageRequest.getRequestParamsAsXMLDocument(XSQLServletPageRequest.java:382)
at oracle.xml.xsql.actions.XSQLIncludeRequestHandler.handleAction(XSQLIncludeRequestHandler.java:39)
at oracle.xml.xsql.XSQLDocHandler.getDocument(XSQLDocHandler.java:149)
at oracle.xml.xsql.XSQLPageProcessor.process(XSQLPageProcessor.java:140)
at oracle.xml.xsql.XSQLServlet.doGet(XSQLServlet.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:167)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:297)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:110)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:523)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:282)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:112)
at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:91)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:184)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:125)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:315)
at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:323)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:252)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
</request>Please refer to Oracle bug 3973353 in Metalink. The solution is as following:
- extract BC4JRequestProcessor.java from \BC4J\src\bc4jstrutssrc.zip
- copy BC4JRequestProcessor.java to ...\project\src\oracle\jbo\html\struts11\BC4JRequestProcessor.java
- comment the following lines (lines 347 to 351):
// Overide only if the action mapping is a BC4JActionMapping.
// ActionMapping mapping = (ActionMapping)
// request.getAttribute(Globals.MAPPING_KEY);
// if (! (mapping instanceof BC4JActionMapping) )
// return super.processMultipart(request);
Regards,
Rayyen -
JAVA Stack installation's method for BI 7.0 (Netweaver 04s)
Hello!
We plan to upgrade our BW 3.5 (without java stack) to BI 7.0 which need a java stack installation.
In this case we have, first, to upgrade the abap stack and then we have to install the java stack .
There are 3 possibilities to install the java stack : as java-addin in the same database that the abap stack , or as the recommanded
SAP 'method i.e. a java installation with its own database , that means another instance , and I think a new license to buy.
The third method is a second server to support the java stack with its own database (separate instance).
I don't understand why the second and third methods are recommanded , rather than the first.
Is it related to the SAP Enterprise Portal ??; (we don't use it at the moment) , or for other reasons?? Thanks..In the event of double-stack or shared installations, ABAP and JAVA compete for main memory and CPU resources. Since BI 7.0 is resource intensive, it is advisable to install AS-Java on a different machine.
Please refer to the following SAP Notes
1. 927530 - BI Java sizing
2. 917950 - SAP NetWeaver 2004s: Setting Up BEx Web
Regards,
Anirban Kundu -
Help needed on installation of Oracle 9i on Sun Solaris 8
Hey,
Help needed on installation of Oracle 9i EE on Sun Solaris 8. The problem I met was: we followed the installation guide from the documentation. And we selected the choice "install software only". After it was done successfully, we run Database Configuration Assistant utility to create a database instance. But finally it always tried to create the instance at the root directory ( / ) which doesn't have enough space and then failed. The case was that we have set the enviroment parameters: $ORACLE_BASE = /export/mydata, $ORACLE_HOME = /export/apps/oracle9i. That means it should be installed at /export/mydata, but it didn't. Any help or advice are welcome. Thanks.
SimonI have downloaded Oracle 11G R2 version from Windows and extracted it in Windows and copied it into DVD after extraction in two folders. Now I am mounting that DVD in Solaris 10 installed in my VMware . I made a new directory named as 'installation ' under /export/home/oracle and copied the folders from DVD to 'installation' folder. Now I am entering installation folder and try to do ./runInstaller as 'oracle ' user and getting the error mentioned before.
Edited by: 916438 on Mar 31, 2012 5:55 PM -
Help needed on installation of Oracle 9i EE on Sun Solaris 8
Hey,
Help needed on installation of Oracle 9i EE on Sun Solaris 8. The problem I met was: we followed the installation guide from the documentation. And we selected the choice "install software only". After it was done successfully, we run Database Configuration Assistant utility to create a database instance. But finally it always tried to create the instance at the root directory ( / ) which doesn't have enough space and then failed. The case was that we have set the enviroment parameters: $ORACLE_BASE = /export/mydata, $ORACLE_HOME = /export/apps/oracle9i. That means it should be installed at /export/mydata, but it didn't. Any help or advice are welcome. Thanks.
SimonI have downloaded Oracle 11G R2 version from Windows and extracted it in Windows and copied it into DVD after extraction in two folders. Now I am mounting that DVD in Solaris 10 installed in my VMware . I made a new directory named as 'installation ' under /export/home/oracle and copied the folders from DVD to 'installation' folder. Now I am entering installation folder and try to do ./runInstaller as 'oracle ' user and getting the error mentioned before.
Edited by: 916438 on Mar 31, 2012 5:55 PM -
Hi all,
In the middle of the last week for my final year project and having to convert to an Oracle database due to compatibility problems with university Tomcat Server and MS Access. I'm having trouble connecting to the Oracle database and would appreciate some help please.
Running on Windows 98 in the lab here, and the Oracle 9i, release 9.2.0.2.0, J2SDK1.4.0, Classes12.zip installed OK.
Code for connection looks like this inside the constructor of my class:
Class.forName("oracle.jdbc.driver.OracleDriver");
cardSaleConnexion = DriverManager.getConnection("jdbc:oracle:[email protected]:1521:sid","user_name","pwdt");
System.out.println("Connection Successful ");
And I'm getting the following error when calling the constructor in a driver program:
java.sql.SQLException: Invalid Oracle URL specified
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:188)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at CardSale.<init>(CardSale.java:30)
at Driver.main(Driver.java:11)
Exception in thread "main"
Please reply on a very urgent basis.
Kind regards,
PeterTry ojdbc14.jar as the JDBC driver instead of classes12.zip.
Refer:
http://otn.oracle.com/software/tech/java/sqlj_jdbc/htdocs/jdbc9201.html
http://docs.sun.com/source/817-5603-10/index.html
Database Driver
This section describes the known database driver issues and associated solutions.
ID Summary
4700531 On Solaris, an ORACLE JDBC driver error occurs.
This new Java Database Connectivity (JDBC) driver is for Oracle (R) working with JDK1.4. The problem is caused by a combination of the Oracle 9.1 database and ojdbc14.jar. Applying the patch will fix the problem on Solaris 32-bit machine, running an Oracle 9.0.1.3 database.
Solution
Obtain and apply the patch to your server from the Oracle Web site for Bug 2199718. Perform the following steps:
1.��Go to the Oracle web site.
2.��Click the 'patches' button.
3.��Type 2199718 in the patch number field.
4.��Click the 32-bit Solaris OS patch.Go to Metalink.oracle.com.
5.��Click patches.
6.��Under patch number, enter 2199718.
7.��Click the 32 bit Solaris OS patch.
4707531 On Solaris, accessing an Oracle 9.1 database with an Oracle 9.2 Client may cause data corruption.
If you use an Oracle (R) 9.2 client to access an Oracle 9.1 database, data corruption might occur when a number column follows a timestamp column.
The problem might be caused by using the ojdbc14.jar file with an Oracle 9.1 database. Applying the patch might assist in addressing the situation on Solaris 32-bit machines, running an Oracle 9.1 database. This JDBC driver is for Oracle working with JDK1.4.
Solution
Obtain the patch that Oracle might make available from the Oracle web site for Bug 2199718 and apply it to your server.
Regards,
Pankaj D. -
Explicit cast needed to convert java.* to to oracle.*
Hello,
I am trying to compile and run the following JSP but keep getting the "Incompatible type for = Explicit cast needed ..." error. The JSP and oracle procedure code are as follows:
<%@ page language="java" import="java.sql.*" %>
<%@ page import="oracle.jdbc.driver.*" %>
<HTML>
<HEAD>
<TITLE>
SimpleQuery JSP
</TITLE>
</HEAD>
<BODY BGCOLOR=EOFFFO>
<TABLE BORDER=1 BGCOLOR="C0C0C0">
<TH BGCOLOR="white"> <I>Node ID</I> </TH>
<%
Connection con = null;
OracleCallableStatement cstmt= null;
ResultSet rs = null;
try {
String SYSTEM_DB_DRIVER =
"oracle.jdbc.driver.OracleDriver";
String SYSTEM_DB_URL =
"jdbc:oracle:thin:@myserver.com:1521:";
String SYSTEM_DB_FILE = "CONN_STRING";
String SYSTEM_DB_USER = "UNAME";
String SYSTEM_DB_PASSWORD = "PASSWD";
Class.forName(SYSTEM_DB_DRIVER);
con = DriverManager.getConnection(SYSTEM_DB_URL +
SYSTEM_DB_FILE, SYSTEM_DB_USER, SYSTEM_DB_PASSWORD);
cstmt = con.prepareCall("call eaicl_p_requirement.open_rule_dtl(?,?)");
cstmt.registerOutParameter(1, OracleTypes.CURSOR);
<<I think I have to pass the p_product_id_in here but not sure how>>
cstmt.execute();
rs = ((OracleCallableStatement)cstmt).getCursor(1);
while(rs.next())
{%>
<TR>
<TD ALIGN=CENTER> <%= rs.getString(1) %> </TD>
<TD ALIGN=CENTER> <%= rs.getInt(2) %> </TD>
</TR>
<%}
rs.close();
cstmt.close();
con.close();
catch(Exception e)
%>
</TABLE>
</BODY>
</HTML>
The Oracle PL/SQL package.procedure it is calling is:
PROCEDURE open_rules_dtl (
prc_rules_dtl_out OUT rc_fetch_rule_dtl,
p_product_id_in IN NUMBER )
IS
vrc_rules_dtl rc_fetch_rule_dtl;
BEGIN
OPEN vrc_rules_dtl FOR
SELECT
r.rule_id,
r.rule_name,
r.rule_objective,
r.rule_description,
r.clearance_requirement,
r.rule_type
FROM
eaicl_rule r
WHERE
r.is_old = 'N' AND
r.product_id = CHR( p_product_id_in )
ORDER BY
r.rule_name
prc_rules_dtl_out := vrc_rules_dtl;
END open_rules_dtl;
I keep getting the following error on the webserver:
[05/Dec/2001:16:56:02] info ( 632): JSP: JSP1x compiler threw exception
org.apache.jasper.JasperException: Unable to compile class for JSPC:\iPlanet\Server4\https-wacc\config\..\ClassCache\_jsps\_ss_test5_jsp.java:84: Incompatible type for =. Explicit cast needed to convert java.sql.CallableStatement to oracle.jdbc.driver.OracleCallableStatement.
cstmt = con.prepareCall("call eaicl_p_requirement.open_rule_dtl(?,?)");
^
I'm not sure how to fix it. I also need to pass the p_product_id parameter to the procedure.
Hope someone can point me in the right direction. Thanks.Here's how you do an explicit cast:cstmt = (OracleCallableStatement)con.prepareCall("call eaicl_p_requirement.open_rule_dtl(?,?)");
Maybe you are looking for
-
Apple TV/Belkin Wireless G repeater
I have to unplug my wireless repeater for Apple TV to show up in iTunes on my Macbook which is wirelessly connected to my network. Anything to be done about this? Don't want to have to unplug the repeater; it's useful.
-
Airport Express works with every device except base PC
I recently purchased an Airport Express to replace my dead Netgear wireless router. After installing the software on my laptop (which is also new, but worked with the old Netgear router), I was unable to connect to the network. My iPad, our iPhones,
-
Junk values in an internal table field
Hi, I have an internal table with a field matnr and matxt. Now both the fields have a junk value '#'. matnr has '#' at the end and matxt has '#' in between the description. How do I get rid of them. Michael
-
Content-Transfer-Encoding is possible to change of received mail?
Its possible change Content-Transfer-Encoding 7bit to 8bit in received mail? If yes please let me know how? Thanks Sanjay kashyap
-
I cannot connect my ipad with the program of yamaha stagemix, is urgent that they solve this problem to me, buys ipad esfecificamente to use that application, has somebody been able it to solve?