目錄
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.能量晶體解釋及其做什麼(黃色晶體)
1 個月前 By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O.最佳圖形設置
1 個月前 By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O.如果您聽不到任何人,如何修復音頻
1 個月前 By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O.聊天命令以及如何使用它們
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

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

在玩GrandTheftAutoV等遊戲時,許多玩家都喜歡使用Mod來增加遊戲的樂趣和可玩性。而OpenIV作為一個知名的Mod管理工具,可以簡化Mod的安裝與管理流程。那麼,接下來我們就來了解OpenIV如何加入Mod吧。首先,你需要確保已經下載並安裝了OpenIV。在OpenIV的官方網站(https://openiv.com/)上可以找到

一個分散式 JVM 監控工具,非常實用! 一個分散式 JVM 監控工具,非常實用! Aug 15, 2023 pm 05:15 PM

該專案為了方便開發者更快監控多個遠端主機jvm,如果你的專案是Spring boot那麼很方便集成,jar包引入即可,不是Spring boot也不用氣餒,你可以快速自行初始化一個Spirng boot程式引入jar包即可

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

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記憶體管理要點與注意事項 Feb 20, 2024 am 10:26 AM

掌握JVM記憶體使用量的重點與注意事項JVM(JavaVirtualMachine)是Java應用程式運作的環境,其中最為重要的就是JVM的記憶體管理。合理地管理JVM記憶體不僅可以提高應用程式的效能,還可以避免記憶體洩漏和記憶體溢位等問題。本文將介紹JVM記憶體使用的要點和注意事項,並提供一些具體的程式碼範例。 JVM記憶體分區JVM記憶體主要分為以下區域:堆(He

See all articles