重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1560|回复: 0
打印 上一主题 下一主题

[参考文档] 12.2 Upgrade Preupgrade.jar Script Fails with the error [Loaded java.lang.Num...

[复制链接]
跳转到指定楼层
楼主
发表于 2022-7-24 15:55:30 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
12.2 Upgrade Preupgrade.jar Script Fails with the error [Loaded java.lang.NumberFormatException from /usr/jdk/instances/jdk1.8.0/jre/lib/rt.jar] For input string: "1" (Doc ID 2362434.1)

                               
登录/注册后可看大图






                               
登录/注册后可看大图


SYMPTOMS
When attempting to upgrade to 12.2.0.1 the preupgrade.jar execution fails with the below error
[Loaded java.lang.NumberFormatException from /usr/jdk/instances/jdk1.8.0/jre/lib/rt.jar]
For input string: "1"


CHANGES
CAUSE
The cause was due to environment variable 'SQLPATH' or 'ORACLE_PATH'
SOLUTION
1. Take a backup of the 'env' command output in a txt file.
2. Unset the environment variable 'SQLPATH' and ORACLE_PATH

3. Execute Preupgrade script from source home using the below command
$Earlier_release_Oracle_home/jdk/bin/java -jar $New_release_Oracle_home/rdbms/admin/preupgrade.jar FILE TEXT DIR output_dir
4. If still the issue persists ,
4a. Take the backup of glogin.sql
4b. Rremove below lines from the glogin.sql and execute the preupgrade.jar
set time on ;
and
set timing on;






分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-11-25 23:52 , Processed in 0.087689 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表