2011年8月23日火曜日
リモートのoracle dbに接続するときに no route to host
Solution:
ファイヤウォールが効いてました。解除したら治りました。
Problem:
Caused by: java.net.NoRouteToHostException: No route to host
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at oracle.net.nt.TcpNTAdapter.connect(TcpNTAdapter.java:150)
at oracle.net.nt.ConnOption.connect(ConnOption.java:130)
at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:353)
... 100 more
2011年8月17日水曜日
cannot find libiconv.so.2 when running tuxedo art sample_01
error occurs saying libiconv.so.2 no such file or directory
I couldn't find libiconv.so.2 anywhere so I used libgiconv for it like,,,
> cd /opt/oracle/tuxedo11gR1
> ln -s libgiconv.so libiconv.so.2
after that no error at start.sh
2011年8月11日木曜日
silent.xml has error code = 65280.
error when trying silent install of weblogic.
Solution:
The problem was that there was a existing directory for mw_home. If I specified a new directory,
the error got away.
Log:
2011-08-10 10:54:23,779 INFO [readSilentXML] com.bea.plateng.wizard.installer.c
ommon.parsers.TemplateParser - Silent xml file processed successfully...
2011-08-10 10:54:25,676 ERROR [home] com.bea.plateng.wizard.installer.silent.tas
ks.SilentBEAHomeTask - At least one component must be selected.
2011年8月6日土曜日
@weblogic jdbc error: The Network Adapter could not establish the connection when multiple server are using one jdbc data source
jdbc error when starting server: The Network Adapter could not
establish the connection when multiple server are using one jdbc data
source
Solution:
The pool config was init 10 max 10. If we lower the init to like 8, no
error occured.
log:
<2011/08/06 17時29分03秒 JST> <Notice> <WebLogicServer> <BEA-000365>
<サーバー状態がSTANDBYに変化しました>
<2011/08/06 17時29分03秒 JST> <Notice> <WebLogicServer> <BEA-000365>
<サーバー状態がSTARTINGに変化しました>
<2011/08/06 17時29分07秒 JST> <Warning> <JDBC> <BEA-001129> <プー
ル"test"の接続の作成中に例外を受け取りました: IOエラー:
The Network Adapter could not establish the connection>
<2011/08/06 17時29分08秒 JST> <Error> <Deployer> <BEA-149205> <エラー
weblogic.application.ModuleException: により、アプ
リケーション'test'を初期化できませんでした。
weblogic.application.ModuleException:
at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:302)
at
weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at
weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:518)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at
weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
Truncated. see log file for complete stacktrace
Caused By: weblogic.common.ResourceException:
weblogic.common.ResourceException: Could not create pool connection. The D
BMS driver exception was: IOエラー: The Network Adapter could not
establish the connection
at
weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:276)
at
weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1249)
at
weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1166)
at
weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:249)
at
weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1155)
Truncated. see log file for complete stacktrace
>
<2011/08/06 17時29分10秒 JST> <Notice> <Log Management> <BEA-170027>
<サーバーはドメイン・レベルの診断サービスとの接続を
正常に確立しました。>
<2011/08/06 17時29分10秒 JST> <Notice> <WebLogicServer> <BEA-000365>
<サーバー状態がADMINに変化しました>
<2011/08/06 17時29分10秒 JST> <Notice> <WebLogicServer> <BEA-000365>
<サーバー状態がRESUMINGに変化しました>
<2011/08/06 17時29分10秒 JST> <Notice> <Server> <BEA-002613> <チャネ
ル"Default[3]"は、現在0:0:0:0:0:0:0:1: 7008でプロト
コルiiop, t3, ldap, snmp, httpをリスニングしています。>
<2011/08/06 17時29分10秒 JST> <Warning> <Server> <BEA-002611> <ホスト
名"NSEKIYA-jp.jp.oracle.com"が複数のIPアドレスにマ
ップされています: 192.168.12.5, 192.168.99.1, 0:0:0:0:0:0:0:1>
<2011/08/06 17時29分10秒 JST> <Notice> <Server> <BEA-002613> <チャネ
ル"Default[2]"は、現在127.0.0.1: 7008でプロトコルiio
p, t3, ldap, snmp, httpをリスニングしています。>
<2011/08/06 17時29分10秒 JST> <Notice> <Server> <BEA-002613> <チャネ
ル"Default"は、現在192.168.99.1: 7008でプロトコルiio
p, t3, ldap, snmp, httpをリスニングしています。>
<2011/08/06 17時29分10秒 JST> <Notice> <Server> <BEA-002613> <チャネ
ル"Default[1]"は、現在192.168.12.5: 7008でプロトコル
iiop, t3, ldap, snmp, httpをリスニングしています。>
<2011/08/06 17時29分10秒 JST> <Notice> <WebLogicServer> <BEA-000330> <ド
メイン"domain1"でWebLogic管理対象サーバー"Server
5"を本番モードで起動しました>
<2011/08/06 17時29分10秒 JST> <Notice> <WebLogicServer> <BEA-000365>
<サーバー状態がRUNNINGに変化しました>
<2011/08/06 17時29分10秒 JST> <Notice> <WebLogicServer> <BEA-000360>
<サーバーがRUNNINGモードで起動しました>
2011年8月1日月曜日
@weblogic JDBC Error after binding jdbc to server
JDBC error occurs after configuring jdbc source to a target Server
and Starting that server after that.
Solution:
Restarted admin server. Then no error when starting the jdbc target
server.
Log:
***************************************************
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
***************************************************
starting weblogic with Java version:
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Oracle JRockit(R) (build
R28.1.3-11-141760-1.6.0_24-20110301-1429-windows-ia32, compiled mode)
Starting WLS with line:
C:\Oracle\MIA532~1\JROCKI~1.2-4\bin\java -jrockit -Xms512m -Xmx512m
-Dweblogic.Name=Server2 -Djava.security.policy=C:\
Oracle\MIA532~1\WLSERV~1.3\server\lib\weblogic.policy
-Dweblogic.ProductionModeEnabled=true -Dweblogic.security.SSL.tru
stedCAKeyStore="C:\Oracle\Middleware_WebLogicHandson1\wlserver_10.3\server\lib\cacerts"
-da -Dplatform.home=C:\Oracle\
MIA532~1\WLSERV~1.3 -Dwls.home=C:\Oracle\MIA532~1\WLSERV~1.3\server
-Dweblogic.home=C:\Oracle\MIA532~1\WLSERV~1.3\server
-Dweblogic.management.discover=false
-Dweblogic.management.server=http://localhost:7001
-Dwlw.iterativeDev=false -Dw
lw.testConsole=false -Dwlw.logErrorsToConsole=false
-Dweblogic.ext.dirs=C:\Oracle\MIA532~1\patch_wls1035\profiles\defaul
t\sysext_manifest_classpath weblogic.Server
<2011/08/01 17時11分54秒 JST> <Info> <Security> <BEA-090905> <Disabling
CryptoJ JCE Provider self-integrity check for be
tter startup performance. To enable this check, specify
-Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<2011/08/01 17時11分55秒 JST> <Info> <Security> <BEA-090906> <Changing
the default Random Number Generator in RSA Crypto
J from ECDRBG to FIPS186PRNG. To disable this change, specify
-Dweblogic.security.allowCryptoJDefaultPRNG=true>
<2011/08/01 17時11分55秒 JST> <Info> <WebLogicServer> <BEA-000377>
<WebLogic ServerをOracle CorporationからOracle JRocki
t(R)バージョンR28.1.3-11-141760-1.6.0_24-20110301-1429-windows-ia32で起
動してい ます>
<2011/08/01 17時11分56秒 JST> <Info> <Security> <BEA-090065> <ユーザーか
ら起動IDを取得しています。>
WebLogic Serverを起動するためのユーザー名を入力してください:weblogic
WebLogic Serverを起動するためのパスワードを入力してください:
<2011/08/01 17時12分03秒 JST> <Info> <Management> <BEA-141107> <バージョ
ン: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06
PDT 2011 1398638 >
<2011/08/01 17時12分04秒 JST> <Notice> <WebLogicServer> <BEA-000365>
<サーバー状態がSTARTINGに変化しました>
<2011/08/01 17時12分04秒 JST> <Info> <WorkManager> <BEA-002900> <自動
チューニング・スレッド・プールを初期化しています>
<2011/08/01 17時12分05秒 JST> <Notice> <Log Management> <BEA-170019>
<サーバー・ログ・ファイルC:\Oracle\Middleware_WebLo
gicHandson1\user_projects\domains\domain1\servers\Server2\logs
\Server2.logを開きました。すべてのサーバーサイド・ログ・イ
ベントはこのファイルに書き込まれます。>
<2011/08/01 17時12分08秒 JST> <Notice> <Security> <BEA-090082> <セキュリ
ティはセキュリティ・レルムmyrealmを使用して初期
化しています。>
<2011/08/01 17時12分13秒 JST> <Notice> <WebLogicServer> <BEA-000365>
<サーバー状態がSTANDBYに変化しました>
<2011/08/01 17時12分13秒 JST> <Notice> <WebLogicServer> <BEA-000365>
<サーバー状態がSTARTINGに変化しました>
<2011/08/01 17時12分18秒 JST> <Warning> <JDBC> <BEA-001129> <プー
ル"test"の接続の作成中に例外を受け取りました: IOエラー:
The Network Adapter could not establish the connection>
<2011/08/01 17時12分20秒 JST> <Warning> <JDBC> <BEA-001129> <プー
ル"test"の接続の作成中に例外を受け取りました: IOエラー:
The Network Adapter could not establish the connection>
<2011/08/01 17時12分22秒 JST> <Warning> <JDBC> <BEA-001129> <プー
ル"test"の接続の作成中に例外を受け取りました: IOエラー:
The Network Adapter could not establish the connection>
<2011/08/01 17時12分24秒 JST> <Warning> <JDBC> <BEA-001129> <プー
ル"test"の接続の作成中に例外を受け取りました: IOエラー:
The Network Adapter could not establish the connection>
<2011/08/01 17時12分26秒 JST> <Error> <Deployer> <BEA-149205> <エラー
weblogic.application.ModuleException: により、アプ
リケーション'test'を初期化できませんでした。
weblogic.application.ModuleException:
at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:302)
at
weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at
weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:518)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at
weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
Truncated. see log file for complete stacktrace
Caused By: weblogic.common.ResourceException:
weblogic.common.ResourceException: Could not create pool connection. The D
BMS driver exception was: IOエラー: The Network Adapter could not
establish the connection
at
weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:276)
at
weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1249)
at
weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1166)
at
weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:249)
at
weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1155)
Truncated. see log file for complete stacktrace
>
<2011/08/01 17時12分27秒 JST> <Notice> <Log Management> <BEA-170027>
<サーバーはドメイン・レベルの診断サービスとの接続を
正常に確立しました。>
<2011/08/01 17時12分27秒 JST> <Notice> <WebLogicServer> <BEA-000365>
<サーバー状態がADMINに変化しました>
<2011/08/01 17時12分27秒 JST> <Notice> <WebLogicServer> <BEA-000365>
<サーバー状態がRESUMINGに変化しました>
<2011/08/01 17時12分28秒 JST> <Notice> <Server> <BEA-002613> <チャネ
ル"Default"は、現在192.168.99.1: 7004でプロトコルiio
p, t3, ldap, snmp, httpをリスニングしています。>
<2011/08/01 17時12分28秒 JST> <Notice> <Server> <BEA-002613> <チャネ
ル"Default[1]"は、現在10.185.225.2: 7004でプロトコル
iiop, t3, ldap, snmp, httpをリスニングしています。>
<2011/08/01 17時12分28秒 JST> <Notice> <Server> <BEA-002613> <チャネ
ル"Default[3]"は、現在0:0:0:0:0:0:0:1: 7004でプロト
コルiiop, t3, ldap, snmp, httpをリスニングしています。>
<2011/08/01 17時12分28秒 JST> <Notice> <Server> <BEA-002613> <チャネ
ル"Default[2]"は、現在127.0.0.1: 7004でプロトコルiio
p, t3, ldap, snmp, httpをリスニングしています。>
<2011/08/01 17時12分28秒 JST> <Notice> <WebLogicServer> <BEA-000330> <ド
メイン"domain1"でWebLogic管理対象サーバー"Server
2"を本番モードで起動しました>
<2011/08/01 17時12分28秒 JST> <Warning> <Server> <BEA-002611> <ホスト
名"NSEKIYA-jp.jp.oracle.com"が複数のIPアドレスにマ
ップされています: 10.185.225.2, 192.168.99.1, 0:0:0:0:0:0:0:1>
<2011/08/01 17時12分29秒 JST> <Notice> <WebLogicServer> <BEA-000365>
<サーバー状態がRUNNINGに変化しました>
<2011/08/01 17時12分29秒 JST> <Notice> <WebLogicServer> <BEA-000360>
<サーバーがRUNNINGモードで起動しました>
@weblogic, eclipse デバッグ実行したら”リモートVMに起動できませんでした" "Connection refused" と表示され、デバッグできない
デバッグ実行したら"リモートVMに起動できませんでした" "Connection
refused" と表示され、デバッグできない
Solution:
Installing weblogic at development mode solved this problem.
May be this error will occur at production mode. Just commenting out
production-mode tag in config.xml will not work.
2011年7月31日日曜日
@coherence*web, Can't login admin console by NullPointerException at weblogic.servlet.internal.session.CoherenceWebSessionContextImpl.getSessionInterna
After out of memory at coherence,
I started the cache server and weblogic admin server.
When I accessed the admin console following error occured and can't
login.
Log:
<2011/07/31 0時36分53秒 JST> <Error> <HTTP> <BEA-101020>
<[ServletContext@50606836[app:consoleapp module:console path:/c
onsole spec-version:2.5]]サーブレットは例外により失敗しました
java.lang.NullPointerException
at
weblogic.servlet.internal.session.CoherenceWebSessionContextImpl.getSessionInternal(CoherenceWebSessionContex
tImpl.java:516)
at
weblogic.servlet.internal.ServletRequestImpl$SessionHelper.updateSessionId(ServletRequestImpl.java:2978)
at
weblogic.servlet.security.internal.SecurityModule.generateNewSession(SecurityModule.java:318)
at
weblogic.servlet.security.internal.SecurityModule.login(SecurityModule.java:305)
at
weblogic.servlet.security.internal.FormSecurityModule.processJSecurityCheck(FormSecurityModule.java:302)
Truncated. see log file for complete stacktrace
>