weblogic几个报错信息以及解决

情况一:

weblogic.nodemanager.common.ConfigException: Native version is enabled but node manager native library could not be loaded
at weblogic.nodemanager.server.NMServerConfig.initProcessControl(NMServerConfig.java:239)
at weblogic.nodemanager.server.NMServerConfig.(NMServerConfig.java:179)
at weblogic.nodemanager.server.NMServer.init(NMServer.java:177)
at weblogic.nodemanager.server.NMServer.(NMServer.java:142)
at weblogic.nodemanager.server.NMServer.main(NMServer.java:327)
at weblogic.NodeManager.main(NodeManager.java:31)
Caused by: java.lang.UnsatisfiedLinkError: no nodemanager in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:993)
at weblogic.nodemanager.util.UnixProcessControl.(UnixProcessControl.java:16)
at weblogic.nodemanager.util.Platform.getProcessControl(Platform.java:114)
at weblogic.nodemanager.server.NMServerConfig.initProcessControl(NMServerConfig.java:237)
... 5 more

解决方法:
添加环境变量:
export LD_LIBRARY_PATH=”{WL_HOME}/server/native/linux/i686″

情况二:

[weblogic@capaatest ~]$ ./server923_ccjk_linux32.bin 
-bash: ./server923_ccjk_linux32.bin: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

在64位系统上安装32位应用可能有该报错。
解决方法:
yum install glibc.i686

情况三:

    <Invalid/unknown SSL header was received from peer 172.16.12.3 - 172.16.12.3 during SSL handshake.> 
  
javax.net.ssl.SSLHandshakeException: [Security:090476]Invalid/unknown SSL header was received from peer 172.16.12.3 - 172.16.12.3 during SSL handshake.
        at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireException(Unknown Source)
        at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireAlertSent(Unknown Source)
        at com.certicom.tls.record.ReadHandler.fireAlert(Unknown Source)
        at com.certicom.tls.record.ReadHandler.getProtocolVersion(Unknown Source)
        at com.certicom.tls.record.ReadHandler.checkVersion(Unknown Source)
        at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
        at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknown Source)
        at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Unknown Source)
        at com.certicom.tls.record.ReadHandler.read(Unknown Source)
        at com.certicom.io.InputSSLIOStreamWrapper.read(Unknown Source)
        at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:411)
        at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:453)
        at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:183)
        at java.io.InputStreamReader.read(InputStreamReader.java:167)
        at java.io.BufferedReader.fill(BufferedReader.java:136)
        at java.io.BufferedReader.readLine(BufferedReader.java:299)
        at java.io.BufferedReader.readLine(BufferedReader.java:362)
        at weblogic.nodemanager.server.Handler.run(Handler.java:66)
        at java.lang.Thread.run(Thread.java:595)

解决方法:
/common/nodemanager/nodemanager.properties
SecureListener=false

tuxedo simpapp 示例运行

接上文。
simpapp 是一个非常简单的示例:将客户端发送小写字母转换为大写返回给客户端。
所在目录:/home/tuxedo/bea/tuxedo12.1.1.0/samples/atmi/simpapp
这里为了不影响原文件,我将simpapp文件夹复制到/home/tuxedo/bea/tuxedo12.1.1.0/下。

1.配置tux.env文件

将/home/tuxedo/bea/tuxedo12.1.1.0/的tux.env文件复制到simpapp文件夹下。

[tuxedo@ant simpapp]$ ls
README  simpcl.c  simpserv.c tux.env  ubbsimple 

然后修改tux.env,添加红字部分

[tuxedo@ant simpapp]$ vi tux.env
TUXDIR=/home/tuxedo/bea/tuxedo12.1.1.0; export TUXDIR
JAVA_HOME=$TUXDIR/jre; export JAVA_HOME
JVMLIBS=$JAVA_HOME/lib/amd64/server:$JAVA_HOME/jre/bin
PATH=$TUXDIR/bin:$JAVA_HOME/bin:$PATH; export PATH
COBCPY=:$TUXDIR/cobinclude; export COBCPY
COBOPT="-C ANS85 -C ALIGN=8 -C NOIBMCOMP -C TRUNC=ANSI -C OSEXT=cbl"; export COBOPT
SHLIB_PATH=$TUXDIR/lib:$JVMLIBS:$SHLIB_PATH; export SHLIB_PATH
LIBPATH=$TUXDIR/lib:$JVMLIBS:$LIBPATH; export LIBPATH
LD_LIBRARY_PATH=$TUXDIR/lib:$JVMLIBS:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH
WEBJAVADIR=$TUXDIR/udataobj/webgui/java; export WEBJAVADIR

APPDIR=$TUXDIR/simpapp; export APPDIR
TUXCONFIG=$APPDIR/tuxconfig; export TUXCONFIG
LANG=C; export LANG
WSNADDR=//172.16.4.111:3200; export WSNADDR

2.配置ubbsimple文件

[tuxedo@ant simpapp]$ vi ubbsimple
#       (c) 2003 BEA Systems, Inc. All Rights Reserved.
#ident  "@(#) samples/atmi/simpapp/ubbsimple    $Revision: 1.7 $"

#Skeleton UBBCONFIG file for the TUXEDO Simple Application.
#Replace the  items with the appropriate values.

*RESOURCES
IPCKEY          123456

#Example:
#IPCKEY         123456

DOMAINID        simpapp
MASTER          simple
MAXACCESSERS    10
MAXSERVERS      5
MAXSERVICES     10
MODEL           SHM
LDBAL           N

*MACHINES
DEFAULT:
                APPDIR="/home/tuxedo/bea/tuxedo12.1.1.0/simpapp"
                TUXCONFIG="/home/tuxedo/bea/tuxedo12.1.1.0/simpapp/tuxconfig"
                TUXDIR="/home/tuxedo/bea/tuxedo12.1.1.0"
#注意与tux.env配置一致
#Example:
#               APPDIR="/home/me/simpapp"
#               TUXCONFIG="/home/me/simpapp/tuxconfig"
#               TUXDIR="/usr/tuxedo"

ant     LMID=simple     #ant为本机hostname
        MAXWSCLIENTS=5

#Example:
#beatux         LMID=simple

*GROUPS
GROUP1
        LMID=simple     GRPNO=1 OPENINFO=NONE

*SERVERS
DEFAULT:
                CLOPT="-A"

simpserv        SRVGRP=GROUP1 SRVID=1
WSL             SRVGRP=GROUP1 SRVID=10 #2个进程
                CLOPT="-A -- -n //172.16.4.111:3200"
#注意与tux.env配置一致
*SERVICES
TOUPPER

3.编译
设置环境变量:
[tuxedo@ant simpapp]$ . ./tux.env
读取UBBCONFIG 检查错误等:
[tuxedo@ant simpapp]$ tmloadcf -y ubbsimple
编译服务器端程序:
[tuxedo@ant simpapp]$ buildserver -f simpserv.c -o simpserv -s TOUPPER
编译客户端程序:
[tuxedo@ant simpapp]$ buildclient -f simpcl.c -o simpcl
如以上没有报错,即已经顺利完成。

4.运行
运行命令:

tmboot -y
[tuxedo@ant simpapp]$  tmboot -y
Booting all admin and server processes in /home/tuxedo/bea/tuxedo12.1.1.0/simpapp/tuxconfig
INFO: Oracle Tuxedo, Version 12.1.1.0, 64-bit, Patch Level (none)

Booting admin processes ...

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

Booting server processes ...

exec simpserv -A :
        process id=20612 ... Started.
exec WSL -A -- -n //172.16.4.111:3200 :
        process id=20613 ... Started.
3 processes started.
[tuxedo@ant simpapp]$

5.测试

[tuxedo@ant simpapp]$  ./simpcl hello
Returned string is: HELLO

关闭应用:
tmshutdown -y

测试2:(TCP/IP方式通讯)

[root@node1 simpapp]# tmloadcf -y ubbsimple 
[root@node1 simpapp]# buildclient -f simpcl.c -o ws -w  //重新编译客户端,ws 为编译的可执行程序,-w 参数表示客户端的编译是按照TCP/IP方式通讯的。

启动:
tmboot -y
测试:

[tuxedo@ant simpapp]$  ./ws hello
Returned string is: HELLO

6.注
如有CMDTUX_CAT:868: ERROR: tmloadcf cannot run on a non-master node报错,请确认hostname是否设置正确。
详细信息大家可以参考《Tuxedo企业级运维实战》这本书。

tuxedo12c简单安装过程

tuxedo下载地址:http://www.oracle.com/technetwork/cn/middleware/tuxedo/downloads/index.html
本次使用的版本为:Oracle Tuxedo 12cR1 (12.1.1.0)
安装包:tuxedo12110_64_linux_5_x86.bin
安装环境:centos5.5 64bit
在console模式下安装

[tuxedo@localhost tmp]$ ./tuxedo12110_64_linux_5_x86.bin -i console
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

Preparing CONSOLE Mode Installation...

===============================================================================
Choose Locale...
----------------

  ->1- English

CHOOSE LOCALE BY NUMBER:
===============================================================================
Tuxedo 12.1.1.0                   (created with InstallAnywhere by Macrovision)
-------------------------------------------------------------------------------




===============================================================================
Introduction
------------

InstallAnywhere will guide you through the Tuxedo 12.1.1.0 installation.



It is strongly recommended that you quit all programs before continuing with
this installation.

Enter "next' to proceed to the next screen. Enter "back" to modify the previous
screen.

You may cancel this installation at any time by typing "quit".



WARNING: "Quitting" creates an incomplete  Tuxedo 12.1.1.0 installation.You
must re-install  Tuxedo 12.1.1.0. For more information, see "Preparing to
Install the Oracle Tuxedo System" in the  Tuxedo 12.1.1.0 Installation Guide.



PRESS  TO CONTINUE:



===============================================================================
Choose Install Set
------------------

Please choose the Install Set to be installed by this installer.

  ->1- Full Install
    2- Server Install
    3- Full Client Install
    4- Jolt Client Install
    5- ATMI Client Install
    6- CORBA Client Install

    7- Customize...

ENTER THE NUMBER FOR THE INSTALL SET, OR PRESS  TO ACCEPT THE DEFAULT
   :



===============================================================================
Choose Oracle Home
------------------


    1- Create new Oracle Home

Enter a number:
Enter a number: 1
Specify a new Oracle Home directory: /tuxedo/bea
Path must be absolute and have write permission!
Specify a new Oracle Home directory: /home/tuxedo/bea



===============================================================================
Choose Product Directory
------------------------


    1- Modify Current Selection (/home/tuxedo/bea/tuxedo12.1.1.0)
    2- Use Current Selection (/home/tuxedo/bea/tuxedo12.1.1.0)

Enter a number: 2
Install Samples (Y/N): y



===============================================================================
Pre-Installation Summary
------------------------

Please Review the Following Before Continuing:

Product Name:
    Tuxedo 12.1.1.0

Install Folder:
    /home/tuxedo/bea/tuxedo12.1.1.0

Required Space:
    382 MB

Available Space:
    10599 MB



PRESS  TO CONTINUE:



===============================================================================
Ready To Install
----------------

InstallAnywhere is now ready to install Tuxedo 12.1.1.0 onto your system at the
following location:



   /home/tuxedo/bea/tuxedo12.1.1.0

PRESS  TO INSTALL:



===============================================================================
Installing...
-------------

 [==================|==================|==================|==================]
 [------------------|------------------|------------------|------------------]



===============================================================================
Configure tlisten Service
-------------------------

Password:
Verify Password:
Passwords do not match, re-enter password.
Password:
Verify Password:
Password Accepted! Please wait...



===============================================================================
SSL Installation Choice.
------------------------

Would you like to install SSL Support?

  ->1- Yes
    2- No

ENTER THE NUMBER FOR YOUR CHOICE, OR PRESS  TO ACCEPT THE DEFAULT:
   : 2




===============================================================================
Installation Complete
---------------------

Congratulations. Tuxedo 12.1.1.0 has been successfully installed to:



   /home/tuxedo/bea/tuxedo12.1.1.0

PRESS  TO EXIT THE INSTALLER:

[tuxedo@localhost tmp]$

weblogic测试JDBC数据源失败(TestConnectionsOnReserve)

环境:weblogic9
现象:新建好JDBC数据源后,进入 JDBC-数据源-监视-测试,进行测试,出现测试失败的提示。
提示信息:

Warning! Connectivity to backend database not verified. This is either because required connection pool attribute "TestConnectionsOnReserve" has not been enabled, or an invalid value has been specified for attribute "TestTableName". Please check the server log for more details..

解决方法:进入 JDBC-数据源-配置-连接缓冲池-高级,将“保留时测试连接”(TestConnectionsOnReserve)打钩即可。
注:weblogic8 解决方法类似。
TestConnectionsOnReserve说明:使 WebLogic Server 能够在将连接提供给客户端之前对连接进行测试。(要求指定“测试表名称”。)
此测试在响应客户端对缓冲池中的连接的请求时将添加短时间的延迟,但会确保客户端收到有效连接。
对于使用故障转移算法的在多数据源中使用的连接缓冲池,该测试是必需的。

weblogic9在保存JDBC时报错JDBCSystemResourceMBean cannot be null

环境:Linux+weblogic923
现象:新建一个名为“JDBC Data Source-0”的数据源后,对其进行修改,在激活更改是发生报错
报错信息:

JDBCSystemResourceMBean cannot be null.

java.lang.IllegalArgumentException: JDBCSystemResourceMBean cannot be null. at com.bea.console.utils.jdbc.JDBCUtils.getJdbcDataSourceBean(JDBCUtils.java:844) at com.bea.console.actions.jdbc.datasources.JDBCDataSourceConfigAction.execute(JDBCDataSourceConfigAction.java:62) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:95) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2042) at 
......

解决方法:删除该JDBC数据源,新建时注意JDBC名称不要带有空格。

AIX下以console方式安装weblogic11g

前提

已经安装IBM jdk:Java6_64.sdk;创建好weblogic用户。

安装包

wls1036_generic.jar

安装全过程

jhdev$[/weblogic]java -version
java version “1.6.0”
Java(TM) SE Runtime Environment (build pap6460sr9fp2-20110627_03(SR9 FP2))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460sr9-20110624_85526 (JIT enabled, AOT enabled)
J9VM – 20110624_085526
JIT – r9_20101028_17488ifx17
GC – 20101027_AA)
JCL – 20110530_01
jhdev$[/weblogic]which java
/usr/java6_64/bin/java
jhdev$[/weblogic]java -jar /tmp/wls1036_generic.jar -mode=console
Extracting 0%……………………………………………………………………………………….100%

<——————– Oracle Installer – WebLogic 10.3.6.0 ——————->

Welcome:
——–

This installer will guide you through the installation of WebLogic 10.3.6.0.
Type “Next” or enter to proceed to the next prompt. If you want to change data entered previously, type “Previous”. You may quit the installer at any time by typing “Exit”.
Enter [Exit][Next]>

<——————– Oracle Installer – WebLogic 10.3.6.0 ——————->

Choose Middleware Home Directory:
———————————

->1|* Create a new Middleware Home
2|/weblogic/Oracle/Middleware
Enter index number to select OR [Exit][Previous][Next]>

<——————– Oracle Installer – WebLogic 10.3.6.0 ——————->

Choose Middleware Home Directory:
———————————

“Middleware Home” = [Enter new value or use default
“/weblogic/Oracle/Middleware”]
** The product maintenance level of the current installer (WebLogic
** Server:10.3.6.0) is not compatible with the maintenance level of the
** product installed on your system (WebLogic Server:10.3.1.0) . Please
** obtain a compatible installer or perform maintenance on your current
** system to achieve the desired level.
Enter new Middleware Home OR [Exit][Previous][Next]> /weblogic/Oracle/Middleware1036

(可以默认目录,因为该机器已经安装过,故自定义目录)

<——————– Oracle Installer – WebLogic 10.3.6.0 ——————->

Choose Middleware Home Directory:
———————————

“Middleware Home” = [/weblogic/Oracle/Middleware1036]

Use above value or select another option:
1 – Enter new Middleware Home
2 – Change to default [/weblogic/Oracle/Middleware]
Enter option number to select OR [Exit][Previous][Next]>

(以下4个步骤是跳过Register for Security Updates)

<——————– Oracle Installer – WebLogic 10.3.6.0 ——————->

Register for Security Updates:
——————————

Provide your email address for security updates and to initiate configuration manager.

1|Email:[]
2|Support Password:[]
3|Receive Security Update:[Yes]
** Do you wish to bypass initiation of the configuration manager and
** remain uninformed of critical security issues in your configuration?
Enter index number to select OR [Exit][Previous][Next]> 3

<——————– Oracle Installer – WebLogic 10.3.6.0 ——————->

Register for Security Updates:
——————————

Provide your email address for security updates and to initiate configuration manager.

“Receive Security Update:” = [Enter new value or use default “Yes”]

Enter [Yes][No]? no

<——————– Oracle Installer – WebLogic 10.3.6.0 ——————->

Register for Security Updates:
——————————

Provide your email address for security updates and to initiate configuration manager.

“Receive Security Update:” = [Enter new value or use default “Yes”]
** Do you wish to bypass initiation of the configuration manager and
** remain uninformed of critical security issues in your configuration?
Enter [Yes][No]? yes

<——————– Oracle Installer – WebLogic 10.3.6.0 ——————->

Register for Security Updates:
——————————

Provide your email address for security updates and to initiate configuration manager.

1|Email:[]
2|Support Password:[]
3|Receive Security Update:[No]

Enter index number to select OR [Exit][Previous][Next]> n

<——————– Oracle Installer – WebLogic 10.3.6.0 ——————->

Choose Install Type:
——————–

Select the type of installation you wish to perform.

->1|Typical
| Install the following product(s) and component(s):
| – WebLogic Server
| – Oracle Coherence

2|Custom
| Choose software products and components to install and perform optional
|configuration.

Enter index number to select OR [Exit][Previous][Next]>

<——————– Oracle Installer – WebLogic 10.3.6.0 ——————->

JDK Selection (Any * indicates Oracle Supplied VM):
—————————————————

JDK(s) chosen will be installed. Defaults will be used in script string-substitution if installed.

1|Add Local Jdk
2|/usr/java6_64[x]

*Estimated size of installation: 750.9 MB
Enter 1 to add or >= 2 to toggle selection OR [Exit][Previous][Next]>

<——————– Oracle Installer – WebLogic 10.3.6.0 ——————->

Choose Product Installation Directories:
—————————————-

Middleware Home Directory: [/weblogic/Oracle/Middleware1036]

Product Installation Directories:
1|WebLogic Server: [/weblogic/Oracle/Middleware1036/wlserver_10.3]
2|Oracle Coherence: [/weblogic/Oracle/Middleware1036/coherence_3.7]
Enter index number to select OR [Exit][Previous][Next]>

<——————– Oracle Installer – WebLogic 10.3.6.0 ——————->

The following Products and JDKs will be installed:
————————————————–

WebLogic Platform 10.3.6.0
|_____WebLogic Server
| |_____Core Application Server
| |_____Administration Console
| |_____Configuration Wizard and Upgrade Framework
| |_____Web 2.0 HTTP Pub-Sub Server
| |_____WebLogic SCA
| |_____WebLogic JDBC Drivers
| |_____Third Party JDBC Drivers
| |_____WebLogic Server Clients
| |_____WebLogic Web Server Plugins
| |_____UDDI and Xquery Support
| |_____Evaluation Database
|_____Oracle Coherence
|_____Coherence Product Files

*Estimated size of installation: 751.1 MB
Enter [Exit][Previous][Next]>

<——————– Oracle Installer – WebLogic 10.3.6.0 ——————->

Installing files..

0% 25% 50% 75% 100%
[————|————|————|————]
[***************************************************]
Performing String Substitutions…

<——————– Oracle Installer – WebLogic 10.3.6.0 ——————->

Configuring OCM…

0% 25% 50% 75% 100%
[————|————|————|————]
[***************************************************]
Creating Domains…

<——————– Oracle Installer – WebLogic 10.3.6.0 ——————->

Installation Complete
Congratulations! Installation is complete.
Press [Enter] to continue or type [Exit]>

<——————– Oracle Installer – WebLogic 10.3.6.0 ——————->

Clean up process in progress …
jhdev$[/weblogic]

weblogic报java.lang.AssertionError: Could not obtain the localhost address

情况:
weblogic所在虚拟机是其他地方克隆过来的。
启动报错:

<Nov 5, 2014 7:39:07 PM CST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.AssertionError: Could not obtain the localhost address. The most likely cause is an error in the network configuration of this machine.
java.lang.AssertionError: Could not obtain the localhost address. The most likely cause is an error in the network configuration of this machine.
at weblogic.server.channels.AddressUtils$AddressMaker.getLocalHost(AddressUtils.java:40)
at weblogic.server.channels.AddressUtils$AddressMaker.<clinit>(AddressUtils.java:35)
at weblogic.server.channels.AddressUtils.getLocalHost(AddressUtils.java:98)
at weblogic.cluster.ClusterHelper.getMachineName(ClusterHelper.java:44)
at weblogic.cluster.ClusterService.start(ClusterService.java:95)
Truncated. see log file for complete stacktrace
java.net.UnknownHostException: dyapp1: dyapp1
at java.net.InetAddress.getLocalHost(InetAddress.java:1308)
at weblogic.server.channels.AddressUtils$AddressMaker.getLocalHost(AddressUtils.java:38)
at weblogic.server.channels.AddressUtils$AddressMaker.<clinit>(AddressUtils.java:35)
at weblogic.server.channels.AddressUtils.getLocalHost(AddressUtils.java:98)
at weblogic.cluster.ClusterHelper.getMachineName(ClusterHelper.java:44)
Truncated. see log file for complete stacktrace

检查发现/etc/hosts下的名字与主机名不一致。

解决方案:
修改hosts或者主机名

临时修改主机名(重启失效):
hostname newname
完全修改:
修改/etc/sysconfig/network中的hostname

weblogic9报Invalid/unknown SSL header was received

环境weblogic923,linux
启动节点管理器正常,建立服务器并启动时报错。
节点错误信息:

    <Invalid/unknown SSL header was received from peer 172.16.4.111 - 172.16.4.111 during SSL handshake.>
  
javax.net.ssl.SSLHandshakeException: [Security:090476]Invalid/unknown SSL header was received from peer 172.16.4.111 - 172.16.4.111 during SSL handshake.
        at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireException(Unknown Source)
        at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireAlertSent(Unknown Source)
        at com.certicom.tls.record.ReadHandler.fireAlert(Unknown Source)
        at com.certicom.tls.record.ReadHandler.getProtocolVersion(Unknown Source)
        at com.certicom.tls.record.ReadHandler.checkVersion(Unknown Source)
        at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
        at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknown Source)
        at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Unknown Source)
        at com.certicom.tls.record.ReadHandler.read(Unknown Source)
        at com.certicom.io.InputSSLIOStreamWrapper.read(Unknown Source)
        at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:411)
        at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:453)
        at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:183)
        at java.io.InputStreamReader.read(InputStreamReader.java:167)
        at java.io.BufferedReader.fill(BufferedReader.java:136)
        at java.io.BufferedReader.readLine(BufferedReader.java:299)
        at java.io.BufferedReader.readLine(BufferedReader.java:362)
        at weblogic.nodemanager.server.Handler.run(Handler.java:66)
        at java.lang.Thread.run(Thread.java:595)

weblogic报:

Certificate chain received from 172.16.4.111 - 172.16.4.111 failed hostname verification check. Certificate contained ubuntu but check expected 172.16.4.111

解决方法1:与上一篇文章的报错是类似的,解决方法也一样,找到server的ssl标签下Hostname Verification项,将值改为None即可。

解决方法2:后来网上查询发现setDomainEnv.sh中设置的JAVA_HOME与系统的环境变量不一致。即运行startWebLogic.sh使用的是weblogic自带的1.5jdk,而startNodemanager.sh使用的是jrockit_150_12,但是我将startNodemanager.sh修改为sun jdk后仍旧报错。

weblogic8报BAD_CERTIFICATE

安装完weblogic8.1启动正常,启动nodemange也正常。但是启动添加的第二台服务器时报错:
javax.net.ssl.SSLKeyException: [Security:090482]BAD_CERTIFICATE alert was received from….
解决方法1:
进入myserver下的ssl标签,点击高级,找到Hostname Verification项,将值改为None即可(可能需要重启weblogic)。

QQ截图20140915171806

解决方法2:后来网上查询发现(下一篇文章)setDomainEnv.sh中设置的JAVA_HOME与系统的环境变量不一致。即运行startWebLogic.sh使用的是weblogic自带的1.5jdk,而startNodemanager.sh使用的是jrockit_150_12,但是我将startNodemanager.sh修改为sun jdk后仍旧报错。

weblogic启动报com.octetstring.vde.backend.backendroot

com.octetstring.vde.backend.backendroot
该错误一般是因为曾经用root用户启动过weblogic,然后再用weblogic用户启动weblogic就会报这个错误。
原因是有几个文件被root用户覆盖写入,权限发生了变化,造成weblogic用户不能写入。
彻底解决办法: chown -R weblogic:weblogic bea 即把weblogic目录下的文件归属全部改为weblogic