2011年8月26日金曜日

@tuxedo-art @UNSOLVED CMDTUX_CAT:819: INFO: Process id=30480 Assume started (pipe).

Problem:
/opt/oracle/art11gR1/Cics_RT/sample/sample_03/LOGS/log> tmboot -y
Booting all admin and server processes in
/opt/oracle/art11gR1/Cics_RT/sample/sample_03/config/tux/tuxconfig
INFO: Oracle Tuxedo, Version 11.1.1.2.0, 64-bit, Patch Level (none)

Booting admin processes ...

exec BBL -A :
process id=30460 ... Started.

Booting server processes ...

exec ARTADM -o
/opt/oracle/art11gR1/Cics_RT/sample/sample_03/LOGS/sysout/stdout_adm -e
/opt/oracle/art11gR1/Cics_RT/sample/sample_03/LOGS/sysout/stderr_adm -r -- :
process id=30461 ... Started.
exec ARTTCPL -- -M 4 -m 1 -L //localhost.localdomain:40371 -n
//localhost.localdomain:40370 +H -1 -D :
process id=30464 ... Started.
exec ARTCNX -o
/opt/oracle/art11gR1/Cics_RT/sample/sample_03/LOGS/sysout/stdout_cnx -e
/opt/oracle/art11gR1/Cics_RT/sample/sample_03/LOGS/sysout/stderr_cnx -r -- :
CMDTUX_CAT:819: INFO: Process id=30467 Assume started (pipe).
exec TMS_ORA -A :
process id=30468 ... Started.
exec TMS_ORA -A :
process id=30474 ... Started.
exec ARTSTRN -o
/opt/oracle/art11gR1/Cics_RT/sample/sample_03/LOGS/sysout/stdout_strn -e
/opt/oracle/art11gR1/Cics_RT/sample/sample_03/LOGS/sysout/stderr_strn -r
-- -s KIXR -l SIMPAPP :
CMDTUX_CAT:819: INFO: Process id=30480 Assume started (pipe).
7 processes started.
d
/opt/oracle/art11gR1/Cics_RT/sample/sample_03/LOGS/log>

@tuxedo-art WARN: APPDIR value "/opt/oracle/art11gR1/Cics_RT/bin" in environment does not

Solution

envfileの中のAPPDIRを修正


Problem:
I did
1. tmboot -> no problem at sysout log.
2. x3270 -> says "Not Connected"

I looked at sample03/LOGS/log/ULOG.XXXXX and found

143122.localhost.localdomain!ARTSTRN.27487.3851863792.0:
LIBTUX_CAT:1376: WARN: APPDIR value "/opt/oracle/art11gR1/Cics_RT/bin"
in environment does not
match configuration "/opt/oracle/art11gR1/Cics_RT/sample/sample_03"

2011年8月25日木曜日

@tuxedo-art ORA-12546: TNS:permission denied

Solution:
OS user has no permission to oracle directory.

Problem:
When doing sqlplus oracle/oracle got following error.
ORA-12546: TNS:permission denied

2011年8月24日水曜日

@weblogic ORA-12505, TNS:listener does not currently know of SID given in connect descripto

SOlution:

DBをstartupしていたが、psで見ると正しく立ち上がっていなかった。(NW
は正常)

Problem:

WebLogicでDB接続すると出る
ORA-12505, TNS:listener does not currently know of SID given in connect
descriptor

@weblogic ORA-01041: 内部エラーが発生しました。hostdefエクステンションが存在しません。

Solution
sqlplusから一度exitすればOK

PRoblem
shutdowon immediateのあと、startupした

ORA-24324: サービス・ハンドルが初期化されていません。
ORA-01041: 内部エラーが発生しました。hostdefエクステンションが存在しません。

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

when doing sample/sample_01/start.sh
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.

Problem
 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

Problem:
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

Problem:
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" と表示され、デバッグできない

Problem:
デバッグ実行したら"リモート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

Problem:
  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
>

2011年7月29日金曜日

Fwd: Fwd: Coherence cache start 2 two times, NoClassDef Exception happens even if there is a jar for it in WEB-INF

Seems like that if server's publish state is "republish", Eclipse's
"Run" will do a republish and a run. So two times coherence will start.
If state is "syncronized", "Run" will not a republish so coherence will
start only once.

Fwd: Coherence cache start 2 two times, NoClassDef Exception happens even if there is a jar for it in WEB-INF

Found different solution.
Delete folder at
workspace\.metadata\.plugins\org.eclipse.core.resources\.projects\XXXX\.indexes.
.indexes seems to be created every time it is published.

Coherence cache start 2 two times, NoClassDef Exception happens even if there is a jar for it in WEB-INF

Problem:
@Eclipse3.6 weblogic oepe
Coherence cache start 2 two times
NoClassDef Exception happens even if there is a jar for it in WEB-INF
Solution:
Change publish setting
http://forums.oracle.com/forums/thread.jspa?threadID=2147007&tstart=0

管理コンソールから管理対象サーバーの起動ができない。

Problem: 管理コンソールから管理対象サーバーの起動ができない。
Solution: マシン設定-のーどまねーじゃーのリスニングポート
と\wlserver_10.3\common\nodemanager \nodemanager.propertiesの
ListenPortは一致する必要がある。

When executing run from ecilpse , error saying 'connection refuse' occures.

Problem:
When executing run from ecilpse , error saying 'connection refuse'
occures.
Solution:
Probably need to access manage server by browser at lease once.

@Coherence*Web error at weblogic coherence launch. weblogic.application.ModuleException: No storage-enabled nodes exist for service DistributedSessions

Solved:
needed to set -Dtangosol.coherence.session.localstorage=true and not
-Dtangosol.coherence.distributed.localstorage=true
as java option when using Coherence*Web

Log:
<2011/07/25 17時53分40秒 JST> <Error> <Deployer> <BEA-149231> <アプリ
ケーション'CoherenceHandsOn2_2'に対してアクティブ化
状態をtrueに設定できませんでした。
weblogic.application.ModuleException: No storage-enabled nodes exist for
service DistributedSessions
at
weblogic.servlet.internal.WebAppModule.activateContexts(WebAppModule.java:1497)
at
weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:438)
at
weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:375)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at
weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:95)
Truncated. see log file for complete stacktrace
Caused By: com.tangosol.net.RequestPolicyException: No storage-enabled
nodes exist for service DistributedSessions
at
com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$
BinaryMap.onMissingStorage(PartitionedCache.CDB:27)
at
com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$
BinaryMap.sendStorageRequest(PartitionedCache.CDB:15)
at
com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$
BinaryMap.addIndex(PartitionedCache.CDB:11)
at
com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$
ViewMap.addIndex(PartitionedCache.CDB:1)
at
com.tangosol.coherence.component.util.SafeNamedCache.addIndex(SafeNamedCache.CDB:1)
Truncated. see log file for complete stacktrace
>
2011-07-25 17:53:40.618/13.343 Oracle Coherence GE 3.7.0.0 <D5>
(thread=Invocation:Management, member=2): Service Manage
ment left the cluster
2011-07-25 17:53:40.629/13.354 Oracle Coherence GE 3.7.0.0 <D5>
(thread=DistributedCache:DistributedSessions, member=2):
Service DistributedSessions left the cluster
2011-07-25 17:53:40.635/13.360 Oracle Coherence GE 3.7.0.0 <D5>
(thread=Cluster, member=2): Service Cluster left the clu
ster
<2011/07/25 17時53分40秒 JST> <Notice> <Log Management> <BEA-170027>
<サーバーはドメイン・レベルの診断サービスとの接続を
正常に確立しました。>
<2011/07/25 17時53分40秒 JST> <Notice> <WebLogicServer> <BEA-000365>
<サーバー状態がADMINに変化しました>
<2011/07/25 17時53分40秒 JST> <Notice> <WebLogicServer> <BEA-000365>
<サーバー状態がRESUMINGに変化しました>
<2011/07/25 17時53分40秒 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/07/25 17時53分40秒 JST> <Notice> <Server> <BEA-002613> <チャネ
ル"Default"は、現在192.168.99.1: 7002でプロトコルiio
p, t3, ldap, snmp, httpをリスニングしています。>
<2011/07/25 17時53分40秒 JST> <Notice> <Server> <BEA-002613> <チャネ
ル"Default[2]"は、現在127.0.0.1: 7002でプロトコルiio
p, t3, ldap, snmp, httpをリスニングしています。>
<2011/07/25 17時53分40秒 JST> <Notice> <Server> <BEA-002613> <チャネ
ル"Default[1]"は、現在10.185.225.2: 7002でプロトコル
iiop, t3, ldap, snmp, httpをリスニングしています。>
<2011/07/25 17時53分40秒 JST> <Notice> <Server> <BEA-002613> <チャネ
ル"Default[3]"は、現在0:0:0:0:0:0:0:1: 7002でプロト
コルiiop, t3, ldap, snmp, httpをリスニングしています。>
<2011/07/25 17時53分40秒 JST> <Notice> <WebLogicServer> <BEA-000332> <ド
メイン"base_domain"でWebLogic管理対象サーバー"Se
rver-0"を開発モードで起動しました>
<2011/07/25 17時53分40秒 JST> <Notice> <WebLogicServer> <BEA-000365>
<サーバー状態がRUNNINGに変化しました>
<2011/07/25 17時53分40秒 JST> <Notice> <WebLogicServer> <BEA-000360>
<サーバーがRUNNINGモードで起動しました>

Not enough permGen space at starting Coherence*Web Weglogic server

Problem:
Not enough permGen space at starting Coherence*Web Weglogic server
Solution:
Raise mem to min:128, max:256 at $DOMAIN/bin/setDomainEnv.cmd

LOG:
2011-07-26 17:43:14.810/18.603 Oracle Coherence GE 3.7.0.0 <Info>
(thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default
(self-tuning)', member=4): Registering MBean using object name
"type=WebLogicHttpSessionManager,nodeId=4,appId=CoherenceHandson4_1CoherenceHandson4_1.war"
<2011/07/26 17時43分14秒 JST> <Notice> <Log Management> <BEA-170027>
<サーバーはドメイン・レベルの診断サービスとの接続を正常に確立しました。>
<2011/07/26 17時43分15秒 JST> <Notice> <WebLogicServer> <BEA-000365>
<サーバー状態がADMINに変化しました>
<2011/07/26 17時43分16秒 JST> <Critical> <WebLogicServer> <BEA-000386>
<サーバー・サブシステムに障害が発生しました。理由:
java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:630)
at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
Truncated. see log file for complete stacktrace

Coherence*Web session-cache-config.xml differences between jars they're in.

Diff:
xml in webInstaller.jar has tag <serializer> added.
Log:
**************** session-cache-config.xml in coherence-web-spi.war
*****************
<?xml version="1.0"?>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -->
<!--
-->
<!-- Cache configuration descriptor for
Coherence*Web -->
<!--
-->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -->
<cache-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xmlns="http://xmlns.oracle.com/coherence/coherence-cache-config"

xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-cache-config
coherence-cache-config.xsd">
<caching-scheme-mapping>
<!--
The clustered cache used to store Session management data.
-->
<cache-mapping>
<cache-name>session-management</cache-name>
<scheme-name>replicated</scheme-name>
</cache-mapping>
<!--
The clustered cache used to store ServletContext attributes.
-->
<cache-mapping>
<cache-name>servletcontext-storage</cache-name>
<scheme-name>replicated</scheme-name>
</cache-mapping>
<!--
The clustered cache used to store Session attributes.
-->
<cache-mapping>
<cache-name>session-storage</cache-name>
<scheme-name>session-near</scheme-name>
</cache-mapping>
<!--
The clustered cache used to store the "overflowing" (split-out due
to size)
Session attributes. Only used for the "Split" model.
-->
<cache-mapping>
<cache-name>session-overflow</cache-name>
<scheme-name>session-distributed</scheme-name>
</cache-mapping>
<!--
The clustered cache used to store IDs of "recently departed" Sessions.
-->
<cache-mapping>
<cache-name>session-death-certificates</cache-name>
<scheme-name>session-certificate</scheme-name>
</cache-mapping>
<!--
The local cache used to store Sessions that are not yet distributed (if
there is a distribution controller).
-->
<cache-mapping>
<cache-name>local-session-storage</cache-name>
<scheme-name>unlimited-local</scheme-name>
</cache-mapping>
<!--
The local cache used to store Session attributes that are not
distributed
(if there is a distribution controller or attributes are allowed to
become
local when serialization fails).
-->
<cache-mapping>
<cache-name>local-attribute-storage</cache-name>
<scheme-name>unlimited-local</scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<!--
Replicated caching scheme used by the Session management and
ServletContext
attribute caches.
-->
<replicated-scheme>
<scheme-name>replicated</scheme-name>
<service-name>ReplicatedSessionsMisc</service-name>
<request-timeout>30s</request-timeout>
<backing-map-scheme>
<local-scheme>
<scheme-ref>unlimited-local</scheme-ref>
</local-scheme>
</backing-map-scheme>
<autostart>true</autostart>
</replicated-scheme>
<!--
Near caching scheme used by the Session attribute cache. The front
cache
uses a Local caching scheme and the back cache uses a Distributed
caching
scheme.
-->
<near-scheme>
<scheme-name>session-near</scheme-name>
<front-scheme>
<local-scheme>
<scheme-ref>session-front</scheme-ref>
</local-scheme>
</front-scheme>
<back-scheme>
<distributed-scheme>
<scheme-ref>session-distributed</scheme-ref>
</distributed-scheme>
</back-scheme>
<invalidation-strategy>present</invalidation-strategy>
</near-scheme>
<local-scheme>
<scheme-name>session-front</scheme-name>
<eviction-policy>HYBRID</eviction-policy>
<high-units>1000</high-units>
<low-units>750</low-units>
</local-scheme>
<distributed-scheme>
<scheme-name>session-distributed</scheme-name>
<scheme-ref>session-base</scheme-ref>
<backing-map-scheme>
<local-scheme>
<scheme-ref>unlimited-local</scheme-ref>
</local-scheme>
<!-- for disk overflow use this backing scheme instead:
<overflow-scheme>
<scheme-ref>session-paging</scheme-ref>
</overflow-scheme>
-->
</backing-map-scheme>
</distributed-scheme>
<!--
Distributed caching scheme used by the "recently departed" Session
cache.
-->
<distributed-scheme>
<scheme-name>session-certificate</scheme-name>
<scheme-ref>session-base</scheme-ref>
<backing-map-scheme>
<local-scheme>
<eviction-policy>HYBRID</eviction-policy>
<high-units>4000</high-units>
<low-units>3000</low-units>
<expiry-delay>86400</expiry-delay>
</local-scheme>
</backing-map-scheme>
</distributed-scheme>
<!--
"Base" Distributed caching scheme that defines common configuration.
-->
<distributed-scheme>
<scheme-name>session-base</scheme-name>
<service-name>DistributedSessions</service-name>
<thread-count>0</thread-count>
<lease-granularity>member</lease-granularity>
<local-storage
system-property="tangosol.coherence.session.localstorage">false</local-storage>
<partition-count>257</partition-count>
<backup-count>1</backup-count>
<backup-storage>
<type>on-heap</type>
</backup-storage>
<request-timeout>30s</request-timeout>
<backing-map-scheme>
<local-scheme>
<scheme-ref>unlimited-local</scheme-ref>
</local-scheme>
</backing-map-scheme>
<autostart>true</autostart>
</distributed-scheme>
<!--
Disk-based Session attribute overflow caching scheme.
-->
<overflow-scheme>
<scheme-name>session-paging</scheme-name>
<front-scheme>
<local-scheme>
<scheme-ref>session-front</scheme-ref>
</local-scheme>
</front-scheme>
<back-scheme>
<external-scheme>
<bdb-store-manager/>
</external-scheme>
</back-scheme>
</overflow-scheme>
<!--
Local caching scheme definition used by all caches that do not
require an
eviction policy.
-->
<local-scheme>
<scheme-name>unlimited-local</scheme-name>
<service-name>LocalSessionCache</service-name>
</local-scheme>
<!--
Clustered invocation service that manages sticky session ownership.
-->
<invocation-scheme>
<service-name>SessionOwnership</service-name>
<request-timeout>30s</request-timeout>
</invocation-scheme>
</caching-schemes>
</cache-config>
*********************************
**************** session-cache-config.xml in
web-installer.jar/web-install/ *****************
<?xml version="1.0"?>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -->
<!--
-->
<!-- Cache configuration descriptor for
Coherence*Web -->
<!--
-->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -->
<cache-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xmlns="http://xmlns.oracle.com/coherence/coherence-cache-config"

xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-cache-config
coherence-cache-config.xsd">
<caching-scheme-mapping>
<!--
The clustered cache used to store Session management data.
-->
<cache-mapping>
<cache-name>session-management</cache-name>
<scheme-name>replicated</scheme-name>
</cache-mapping>
<!--
The clustered cache used to store ServletContext attributes.
-->
<cache-mapping>
<cache-name>servletcontext-storage</cache-name>
<scheme-name>replicated</scheme-name>
</cache-mapping>
<!--
The clustered cache used to store Session attributes.
-->
<cache-mapping>
<cache-name>session-storage</cache-name>
<scheme-name>session-near</scheme-name>
</cache-mapping>
<!--
The clustered cache used to store the "overflowing" (split-out due
to size)
Session attributes. Only used for the "Split" model.
-->
<cache-mapping>
<cache-name>session-overflow</cache-name>
<scheme-name>session-distributed</scheme-name>
</cache-mapping>
<!--
The clustered cache used to store IDs of "recently departed" Sessions.
-->
<cache-mapping>
<cache-name>session-death-certificates</cache-name>
<scheme-name>session-certificate</scheme-name>
</cache-mapping>
<!--
The local cache used to store Sessions that are not yet distributed (if
there is a distribution controller).
-->
<cache-mapping>
<cache-name>local-session-storage</cache-name>
<scheme-name>unlimited-local</scheme-name>
</cache-mapping>
<!--
The local cache used to store Session attributes that are not
distributed
(if there is a distribution controller or attributes are allowed to
become
local when serialization fails).
-->
<cache-mapping>
<cache-name>local-attribute-storage</cache-name>
<scheme-name>unlimited-local</scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<!--
Replicated caching scheme used by the Session management and
ServletContext
attribute caches.
-->
<replicated-scheme>
<scheme-name>replicated</scheme-name>
<service-name>ReplicatedSessionsMisc</service-name>
<serializer>
<instance>
<class-name>com.tangosol.io.DefaultSerializer</class-name>
</instance>
</serializer>
<backing-map-scheme>
<local-scheme>
<scheme-ref>unlimited-local</scheme-ref>
</local-scheme>
</backing-map-scheme>
<autostart>true</autostart>
</replicated-scheme>
<!--
Near caching scheme used by the Session attribute cache. The front
cache
uses a Local caching scheme and the back cache uses a Distributed
caching
scheme.
-->
<near-scheme>
<scheme-name>session-near</scheme-name>
<front-scheme>
<local-scheme>
<scheme-ref>session-front</scheme-ref>
</local-scheme>
</front-scheme>
<back-scheme>
<distributed-scheme>
<scheme-ref>session-distributed</scheme-ref>
</distributed-scheme>
</back-scheme>
<invalidation-strategy>present</invalidation-strategy>
</near-scheme>
<local-scheme>
<scheme-name>session-front</scheme-name>
<eviction-policy>HYBRID</eviction-policy>
<high-units>1000</high-units>
<low-units>750</low-units>
</local-scheme>
<distributed-scheme>
<scheme-name>session-distributed</scheme-name>
<scheme-ref>session-base</scheme-ref>
<backing-map-scheme>
<local-scheme>
<scheme-ref>unlimited-local</scheme-ref>
</local-scheme>
<!-- for disk overflow use this backing scheme instead:
<overflow-scheme>
<scheme-ref>session-paging</scheme-ref>
</overflow-scheme>
-->
</backing-map-scheme>
</distributed-scheme>
<!--
Distributed caching scheme used by the "recently departed" Session
cache.
-->
<distributed-scheme>
<scheme-name>session-certificate</scheme-name>
<scheme-ref>session-base</scheme-ref>
<backing-map-scheme>
<local-scheme>
<eviction-policy>HYBRID</eviction-policy>
<high-units>4000</high-units>
<low-units>3000</low-units>
<expiry-delay>86400</expiry-delay>
</local-scheme>
</backing-map-scheme>
</distributed-scheme>
<!--
"Base" Distributed caching scheme that defines common configuration.
-->
<distributed-scheme>
<scheme-name>session-base</scheme-name>
<service-name>DistributedSessions</service-name>
<serializer>
<instance>
<class-name>com.tangosol.io.DefaultSerializer</class-name>
</instance>
</serializer>
<thread-count>0</thread-count>
<lease-granularity>member</lease-granularity>
<local-storage
system-property="tangosol.coherence.session.localstorage">false</local-storage>
<partition-count>257</partition-count>
<backup-count>1</backup-count>
<backup-storage>
<type>on-heap</type>
</backup-storage>
<backing-map-scheme>
<local-scheme>
<scheme-ref>unlimited-local</scheme-ref>
</local-scheme>
</backing-map-scheme>
<autostart>true</autostart>
</distributed-scheme>
<!--
Disk-based Session attribute overflow caching scheme.
-->
<overflow-scheme>
<scheme-name>session-paging</scheme-name>
<front-scheme>
<local-scheme>
<scheme-ref>session-front</scheme-ref>
</local-scheme>
</front-scheme>
<back-scheme>
<external-scheme>
<bdb-store-manager/>
</external-scheme>
</back-scheme>
</overflow-scheme>
<!--
Local caching scheme definition used by all caches that do not
require an
eviction policy.
-->
<local-scheme>
<scheme-name>unlimited-local</scheme-name>
<service-name>LocalSessionCache</service-name>
</local-scheme>
<!--
Clustered invocation service that manages sticky session ownership.
-->
<invocation-scheme>
<service-name>SessionOwnership</service-name>
<serializer>
<instance>
<class-name>com.tangosol.io.DefaultSerializer</class-name>
</instance>
</serializer>
</invocation-scheme>
</caching-schemes>
</cache-config>
******************************

@Coherence*Web setup. Cache server and weblogic coherence server will not be on the same cluster.

Problem:
I launched another cache server. That cache server listend to
differenet port but joined the same cluster as other cache server.
So port number does not seem to be the problem.
Solved:
I used different coherence versions.
Cache server was 3.7. Weblogic used 3.6's coherence.jar.
Tested with plain 3.6 cache server and 3.7 cache server with same
configuration. They did'nt make a cluster. splitted.

Logs:
cache server: Group{Address=224.3.6.0, Port=36000, TTL=4}
MasterMemberSet
(
ThisMember=Member(Id=1, Timestamp=2011-07-25 12:47:37.437,
Address=192.168.99.1:8090, MachineId=2817, Location=site:jp
.oracle.com,machine:NSEKIYA-jp,process:5568, Role=WeblogicServer)
OldestMember=Member(Id=1, Timestamp=2011-07-25 12:47:37.437,
Address=192.168.99.1:8090, MachineId=2817, Location=site:
jp.oracle.com,machine:NSEKIYA-jp,process:5568, Role=WeblogicServer)
ActualMemberSet=MemberSet(Size=1, BitSetCount=2
Member(Id=1, Timestamp=2011-07-25 12:47:37.437,
Address=192.168.99.1:8090, MachineId=2817, Location=site:jp.oracle.c
om,machine:NSEKIYA-jp,process:5568, Role=WeblogicServer)
)
RecycleMillis=1200000
RecycleSet=MemberSet(Size=0, BitSetCount=0
)
)
*************************
weblogic: Group{Address=224.3.7.0, Port=37000, TTL=4}
MasterMemberSet
(
ThisMember=Member(Id=1, Timestamp=2011-07-25 12:02:13.189,
Address=192.168.99.1:8088, MachineId=2817, Location=site:jp
.oracle.com,machine:NSEKIYA-jp,process:588, Role=CoherenceConsole)
OldestMember=Member(Id=1, Timestamp=2011-07-25 12:02:13.189,
Address=192.168.99.1:8088, MachineId=2817, Location=site:
jp.oracle.com,machine:NSEKIYA-jp,process:588, Role=CoherenceConsole)
ActualMemberSet=MemberSet(Size=1, BitSetCount=2
Member(Id=1, Timestamp=2011-07-25 12:02:13.189,
Address=192.168.99.1:8088, MachineId=2817, Location=site:jp.oracle.c
om,machine:NSEKIYA-jp,process:588, Role=CoherenceConsole)
)
RecycleMillis=1200000
RecycleSet=MemberSet(Size=0, BitSetCount=0
)
)
*************************
<2011/07/25 12時47分41秒 JST> <Error> <Deployer> <BEA-149231> <アプリ
ケーション'CoherenceHandsOn2'に対してアクティブ化状
態をtrueに設定できませんでした。
weblogic.application.ModuleException: No storage-enabled nodes exist for
service DistributedSessions
at
weblogic.servlet.internal.WebAppModule.activateContexts(WebAppModule.java:1497)
at
weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:438)
at
weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:375)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at
weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:95)
Truncated. see log file for complete stacktrace
Caused By: com.tangosol.net.RequestPolicyException: No storage-enabled
nodes exist for service DistributedSessions
at
com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$
BinaryMap.onMissingStorage(PartitionedCache.CDB:23)
at
com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$
BinaryMap.sendStorageRequest(PartitionedCache.CDB:15)
at
com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$
BinaryMap.addIndex(PartitionedCache.CDB:11)
at
com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$
ViewMap.addIndex(PartitionedCache.CDB:1)
at
com.tangosol.coherence.component.util.SafeNamedCache.addIndex(SafeNamedCache.CDB:1)
Truncated. see log file for complete stacktrace
>
2011-07-25 12:47:41.632/15.943 Oracle Coherence GE 3.6.0.4 <D5>
(thread=Invocation:Management, member=1): Service Manage
ment left the cluster

Error when starting manage-sever using Coherence*Web

log:
2011-07-25 12:01:39.819/13.122 Oracle Coherence GE 3.6.0.4 <Error>
(thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default
(self-tuning)', member=n/a): Error while starting cluster:
java.lang.RuntimeException: Failed to start Service "Cluster"
(ServiceState=SERVICE_STOPPED, STATE_JOINING)
at
com.tangosol.coherence.component.util.daemon.queueProcessor.Service.start(Service.CDB:38)
at
com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.start(Grid.CDB:6)
at
com.tangosol.coherence.component.net.Cluster.onStart(Cluster.CDB:637)
at
com.tangosol.coherence.component.net.Cluster.start(Cluster.CDB:11)
at
com.tangosol.coherence.component.util.SafeCluster.startCluster(SafeCluster.CDB:3)
at
com.tangosol.coherence.component.util.SafeCluster.restartCluster(SafeCluster.CDB:7)
at
com.tangosol.coherence.component.util.SafeCluster.ensureRunningCluster(SafeCluster.CDB:26)
at
com.tangosol.coherence.component.util.SafeCluster.start(SafeCluster.CDB:2)
at
com.tangosol.net.CacheFactory.ensureCluster(CacheFactory.java:998)
solve:
the coherence configuration has mismatch between coherence cache
server and weblogic application coherence.
see
http://download.oracle.com/docs/cd/E18686_01/coh.37/e18690/cweb_wls.htm#CHDEEJCE
coherence.cmd sample that works
@echo off
@
@rem This will start a console application
@rem demonstrating the functionality of the Coherence(tm) API
@
setlocal
:config
@rem specify the Coherence installation directory
set coherence_home=%~dp0\..
@rem specify if the console will also act as a server
set storage_enabled=false
@rem specify the JVM heap size
set memory=128m

:start
if not exist "%coherence_home%\lib\coherence.jar" goto instructions
if "%java_home%"=="" (set java_exec=java) else (set
java_exec=%java_home%\bin\java)

:launch
if "%1"=="-jmx" (
set jmxproperties=-Dcom.sun.management.jmxremote
-Dtangosol.coherence.management=all
-Dtangosol.coherence.management.remote=true
shift
)
@rem java_opts for Coherence*Web reference page:
http://download.oracle.com/docs/cd/E18686_01/coh.37/e18690/cweb_wls.htm#CHDEEJCE
set java_opts=-Xms%memory% -Xmx%memory% -cp
%coherence_home%/lib/coherence.jar;%coherence_home%/lib/coherence-web-spi.war
^
-Dtangosol.coherence.management.remote=true
-Dtangosol.coherence.cacheconfig=WEB-INF/classes/session-cache-config.xml ^
-Dtangosol.coherence.distributed.localstorage=true %jmxproperties%

%java_exec% -server -showversion %java_opts%
com.tangosol.net.CacheFactory %1
goto exit
:instructions
echo Usage:
echo ^<coherence_home^>\bin\coherence.cmd
goto exit
:exit
endlocal
@echo on

Glassfish will not use coherence as httpsession.

Problem
Glassfish will not use coherence as httpsession.
@Glassfish 3.1 Coherence 3.7
Solution
session-cache-config.xml must be wrong.
need to use the one included in webInstaller.jar

-> nope, this wasn't the problem

My guess is that there is a problem with glassfish spi.

But no detail doc about glassfish spi.

Pending state

2011年7月25日月曜日