目录
Applies to:
Goal
Fix
首页 数据库 mysql教程 How to Add the JVM Component to an Existing Oracle Database

How to Add the JVM Component to an Existing Oracle Database

Jun 07, 2016 pm 03:02 PM
add component jvm the

Applies to: Oracle Server - Enterprise Edition - Version 11.2.0.1.0 and later Information in this document applies to any platform. This article details how to install the JVM in an existing Oracle11g Release 2 database. Goal Add the Oracl

Applies to:

Oracle Server - Enterprise Edition - Version 11.2.0.1.0 and later
Information in this document applies to any platform.
This article details how to install the JVM in an existing Oracle11g Release 2 database.


Goal

Add the Oracle JVM component to an existing Oracle Database or instance.

As with all destructive actions, Oracle Corporation strongly advises taking a FULL COLD BACKUP of the database before these actions are performed.

Fix

There are two options:

Option 1. Add the Oracle JVM component using the Database Configuration Assistant Utility

a. Start the Database Configuration Assistant and Click Next at the Welcome screen.

b. Choose the option to configure a database. Click Next

How to Add the JVM Component to an Existing Oracle Database

c. Select the database service name to configure. Click Next

How to Add the JVM Component to an Existing Oracle Database

c. Click the Button labeled "Standard Database Components" and check or enable the box "Oracle JVM". Click Ok.

How to Add the JVM Component to an Existing Oracle Database

d. Click Next and then Finish to complete the action.

How to Add the JVM Component to an Existing Oracle Database





Option 2. Manually Add the JVM Component by executing the initjvm.sql script.

The following steps need to be executed precisely as listed below to ensure that they complete successfully:


a. Verify the following system requirements are available:

The Shared Pool has at least 96Mb of free space.
The Java Pool has at least 50Mb of free space
The SYSTEM tablespace has at least 70Mb of free space
The SYSTEM RBS has at least 100Mb of free space

The initjvm.sql script in 11g will check these resources are available when it is run, and if they aren't available the execution of the script will terminate with an error indicating which resource needs to be increased.

b. Shutdown the instance and then create and run the following sql script from a new sqlplus session:

 

-- Start of File full_jvminst.sql<br> spool full_jvminst.log;<br> set echo on<br> connect / as sysdba<br> startup mount<br> alter system set "_system_trig_enabled" = false scope=memory;<br> alter database open;<br> select obj#, name from obj$<br> where type#=28 or type#=29 or type#=30 or namespace=32;<br> <span>@?/javavm/install/initjvm.sql</span><br> select count(*), object_type from all_objects<br> where object_type like '%JAVA%' group by object_type;<br> <span>@?/xdk/admin/initxml.sql</span><br> select count(*), object_type from all_objects<br> where object_type like '%JAVA%' group by object_type;<br> <span>@?/xdk/admin/xmlja.sql</span><br> select count(*), object_type from all_objects<br> where object_type like '%JAVA%' group by object_type;<br> <span>@?/rdbms/admin/catjava.sql</span><br> select count(*), object_type from all_objects<br> where object_type like '%JAVA%' group by object_type;<br> <span>@?/rdbms/admin/catexf.sql</span><br> select count(*), object_type from all_objects<br> where object_type like '%JAVA%' group by object_type;<br> shutdown immediate<br> set echo off<br> spool off<br> exit<br> -- End of File full_jvminst.sql

 

c. Once the database has been restarted, resolve any invalid objects.

This can be performed by running the utlrp.sql script e.g.:

@?/rdbms/admin/utlrp.sql

本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn

热AI工具

Undresser.AI Undress

Undresser.AI Undress

人工智能驱动的应用程序,用于创建逼真的裸体照片

AI Clothes Remover

AI Clothes Remover

用于从照片中去除衣服的在线人工智能工具。

Undress AI Tool

Undress AI Tool

免费脱衣服图片

Clothoff.io

Clothoff.io

AI脱衣机

AI Hentai Generator

AI Hentai Generator

免费生成ai无尽的。

热门文章

R.E.P.O.能量晶体解释及其做什么(黄色晶体)
4 周前 By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O.最佳图形设置
4 周前 By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O.如果您听不到任何人,如何修复音频
4 周前 By 尊渡假赌尊渡假赌尊渡假赌
WWE 2K25:如何解锁Myrise中的所有内容
1 个月前 By 尊渡假赌尊渡假赌尊渡假赌

热工具

记事本++7.3.1

记事本++7.3.1

好用且免费的代码编辑器

SublimeText3汉化版

SublimeText3汉化版

中文版,非常好用

禅工作室 13.0.1

禅工作室 13.0.1

功能强大的PHP集成开发环境

Dreamweaver CS6

Dreamweaver CS6

视觉化网页开发工具

SublimeText3 Mac版

SublimeText3 Mac版

神级代码编辑软件(SublimeText3)

2 个月不见,人形机器人 Walker S 会叠衣服了 2 个月不见,人形机器人 Walker S 会叠衣服了 Apr 03, 2024 am 08:01 AM

机器之能报道编辑:吴昕国内版的人形机器人+大模型组队,首次完成叠衣服这类复杂柔性材料的操作任务。随着融合了OpenAI多模态大模型的Figure01揭开神秘面纱,国内同行的相关进展一直备受关注。就在昨天,国内"人形机器人第一股"优必选发布了人形机器人WalkerS深入融合百度文心大模型后的首个Demo,展示了一些有趣的新功能。现在,得到百度文心大模型能力加持的WalkerS是这个样子的。和Figure01一样,WalkerS没有走动,而是站在桌子后面完成一系列任务。它可以听从人类的命令,折叠衣物

面试官:@Configuration 和 @Component 的区别 面试官:@Configuration 和 @Component 的区别 Aug 15, 2023 pm 04:29 PM

调用@Configuration类中的@Bean注解的方法,返回的是同一个示例;而调用@Component类中的@Bean注解的方法,返回的是一个新的实例。

vue3怎么使用defineAsyncComponent与component标签实现动态渲染组件 vue3怎么使用defineAsyncComponent与component标签实现动态渲染组件 May 12, 2023 pm 05:55 PM

一、基础的动态引入组件:简单的动态引入的意思是,前端知道要引入哪些组件,将多个组件引入到父组件中,但不渲染它,满足一定条件后,才去在某个位置渲染指定的组件。import{reactive,ref,shallowReactive,onActivated,defineAsyncComponent,}from'vue';constcustomModal=defineAsyncComponent(()=>import('./modal/CustomM

一个分布式 JVM 监控工具,非常实用! 一个分布式 JVM 监控工具,非常实用! Aug 15, 2023 pm 05:15 PM

该项目为了方便开发者更快监控多个远程主机jvm,如果你的项目是Spring boot那么很方便集成,jar包引入即可,不是Spring boot也不用气馁,你可以快速自行初始化一个Spirng boot程序引入jar包即可

openiv怎么加mod openiv怎么加mod Feb 22, 2024 pm 09:54 PM

在玩GrandTheftAutoV等游戏时,许多玩家都喜欢使用Mod来增加游戏的乐趣和可玩性。而OpenIV作为一个知名的Mod管理工具,可以简化Mod的安装和管理过程。那么,接下来我们就来了解一下OpenIV如何加入Mod吧。首先,你需要确保已经下载并安装了OpenIV。在OpenIV的官方网站(https://openiv.com/)上可以找到

Vue 中使用 mixin、extend、component 等 API 实现组件定制的技巧 Vue 中使用 mixin、extend、component 等 API 实现组件定制的技巧 Jun 25, 2023 pm 03:28 PM

Vue.js是一个流行的前端框架,它提供了许多API用于组件的定制。本文将介绍Vue中mixin、extend、component等API,帮助您掌握组件定制的技巧。mixinmixin是Vue中重用组件代码的一种方式。它允许我们将已经编写的代码复用到不同的组件中,从而减少重复代码的编写。例如,我们可以使用mixin帮助我们在多个组

JVM命令行参数详解:掌控JVM运行的秘密武器 JVM命令行参数详解:掌控JVM运行的秘密武器 May 09, 2024 pm 01:33 PM

通过JVM命令行参数,您可以细粒度地调整JVM行为。其中通用参数包括:设置Java堆大小(-Xms、-Xmx)设置新生代大小(-Xmn)启用并行垃圾收集器(-XX:+UseParallelGC)减少Survivor区内存占用(-XX:-ReduceSurvivorSetInMemory)消除冗余垃圾回收(-XX:-EliminateRedundantGCs)打印垃圾回收信息(-XX:+PrintGC)使用G1垃圾收集器(-XX:-UseG1GC)设置最大垃圾回收暂停时间(-XX:MaxGCPau

JVM内存管理要点与注意事项 JVM内存管理要点与注意事项 Feb 20, 2024 am 10:26 AM

掌握JVM内存使用情况的要点与注意事项JVM(JavaVirtualMachine)是Java应用程序运行的环境,其中最为重要的就是JVM的内存管理。合理地管理JVM内存不仅可以提高应用程序的性能,还可以避免内存泄漏和内存溢出等问题。本文将介绍JVM内存使用的要点和注意事项,并提供一些具体的代码示例。JVM内存分区JVM内存主要分为以下几个区域:堆(He

See all articles