問題タブ [oracle12c]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
asp.net - asp.netでOracleデータベースに接続する
Oracle データベースに接続するのはかなりややこしい作業です。従うべき多くのステップがあり、私はほとんどすべてに従い、途中であまりにも多くのエラーを解決したと思います. 今、私はこの段階でエラーで立ち往生しています
私の tnsnames.ora ファイル
環境変数で指定された ORACLE_HOME パス
web.config の接続文字列
tnsping ORCL が OK を返しました。
Visual Studio 2013 と Oracle 12c Enterprise Database を使用しています。ODP.NET と ODAC をインストールしました。今、私はここで何が欠けていますか?どんな助けでも大歓迎です。
oracle - Oracle データベースの Netty
テスト目的で、Oracle データベース内で Netty 3.9.0 エコー サーバーの例 (Netty の例で見つけることができます) を実行しようとしました。
正常に起動し、ポートでサービスが実行されていることを確認できます (nmap を使用) が、メッセージを送信しようとすると例外が発生します。
備考:
- コードは外部で (シェルで) 実行すると機能します
- 特権が付与されます (その他の例外は見つかりません)
- 私の最初の容疑者は、データベースの java.nio です
誰か説明がありますか?
注: 繰り返しますが、これはテスト目的のためのものです。モチベーションを求めないでください:-)
ありがとうございました
java - Oracle listener state blocked after setting SQLNET.ALLOWED_LOGON_VERSION
This is a rather specific problem.
I'm doing some work in a Java project that uses a database access framework, originally designed to work with Oracle DB 9i.
To work on this project I needed an Oracle DB on my Mac, running OSX Mountain Lion, and the only apparent solution was to run it in a VM. Therefore I downloaded the OTN Developer Day VM from here which comes complete with an Oracle DB 12c instance.
After jumping through various hoops, I have gotten my Eclipse/Tomcat/Servlets setup to talk to the 12c database with the jdbc7 driver, which I downloaded from the Oracle site. Everything works as expected, and as a note, Oracle SQL Developer connects to it just fine.
Here's the connection string I'm using: jdbc:oracle:thin:@localhost:1521/pdb1
I can log on as local users I have created within the default pluggable DB, or by using the connection string jdbc:oracle:thin:@localhost:1521:orcl
I can log on as any of the common users that are set up.
Now, the trick is when I want to use the Java DB access framework, designed for use with a 9i DB. I get the error: ORA-28040: No matching authentication protocol
.
Based on what I could find, such as this Oracle thread, my 12c database is not configured to allow 9i-style authentication (due to security holes in 9i). So to fix this, I need to set my DB to allow this by going to this file:
/u01/app/oracle/product/12.1.0/dbhome_1/network/admin/sqlnet.ora
And adding the line:
SQLNET.ALLOWED_LOGON_VERSION=(9)
(Note that I have also tried (8)
, as well as (12,11,10,9,8,7)
and other such oddities, and I still experience the following. I've also seen SQLNET_ALLOWED...
, the underscore instead of the period, but I think that's for older Oracle DB versions.)
When I do this, and reboot the VM, I can no longer connect to the DB. When I attempt to connect to pdb1
I get:
And when I attempt to connect to orcl
I get:
When I go into the terminal in the VM and check the status of the service with lsnrctl (something I found with a bit of Googling) this happens:
Unfortunately, I am quite the lightweight on Oracle DB and DB administration in general; I would prefer to simply code stuff and have the DB just work, but I do need to get this DB access framework to work, and I only have a copy of Oracle 12c, not 9i, so I'm in a bind.
ruby-on-rails - Oracle VM と Rails: OCIError: ORA-12537: TNS: 接続が閉じられました
データベースにオラクルを使用するレールアプリがあります。
以前は、古いマシンで oracle virtualbox と Oracle Developer Day kit を使用して実行していました。オラクルが提供するパックには Oracle データベース 11g が含まれていました。新しいラップトップを手に入れたので、すべてを再インストールする必要がありますが、うまくいきましたが、オラクル パック 'OTN dev day' はオラクル データベース 12g を使用しています。
すべてをまったく同じ方法で設定した後、oci8 経由で接続をテストしているときに次のエラーが発生しました。
VM でリスナーを確認すると、すべて正常に動作しています。
12 と 11 の間に大きな変化はありますか? または、インストール中に何かを見逃しましたか?
前もって感謝します!
c# - Connection.Open() での Oracle.DataAccess.Client.OracleException
この質問は他の質問のクローンのように見えるかもしれませんが、これに対する正しい答えが見つかりません。これが私のシナリオです。Oracle データベースに書き込む必要がある Web サービスによって呼び出される C# ソフトウェアがあります。私のテストサーバーでは問題はありません。それは魅力のように機能しますが、別の同等のサーバーでは次のエラーが発生します。
Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure, Boolean bCheck, Int32 isRecoverable) での Oracle.DataAccess.Client.OracleException。 OracleException.HandleError (Int32 errCode、OracleConnection conn、IntPtr opsErrCtx、Object src) が Oracle.DataAccess.Client.OracleConnection.Open() にある
他のメッセージはありません。オラクルクライアントのインストールエラーだと思いましたが、オラクル接続をテストするために書いた別の小さなアプリケーションが機能します。
接続文字列:
では、問題はアプリケーションの構成にあると思いますが、なぜ同じことが他のサーバーでも機能するのでしょうか? プロジェクトとソリューションのデバッグ プラットフォームの構成を編集しようとしましたが、問題はまだ存在します.何か提案はありますか?
oracle-apex - 管理者としてのOracle RESTデータ・サービスへの認証
私はデータベースに接続されたAndroidアプリに取り組んでおり、データベースにはタブレットが処理できるよりも多くのデータがあるため、いくつかの調査の後、多くのソリューションを見つけました。それらのほとんどは、アプリとデータベース自体の間にWebサービスを実装することで構成されていました.これとこれを見つけました。ords の最新バージョンをインストールしたばかりで、Web インターフェイスを機能させるためにいくつかの問題がありましたが、現在は機能しており、ログインできません。いくつかの解決策を見つけましたが、どれも機能していないようです。アイデア?デフォルトの識別子は何ですか? 50個くらいのタブで迷ってる
ありがとうございました
https://imagizer.imageshack.us/v2/867x679q90/571/22qo.png
https://imagizer.imageshack.us/v2/753x796q90/855/u9b3.png
ps: apex_public_user と apex_040200 のユーザーを確認したところ、「期限切れ」でした。それは正常ですか?
さらに情報が必要な場合はお知らせください