1. 程式人生 > >Weblogic 錯誤 解決辦法

Weblogic 錯誤 解決辦法

控制檯提示如下錯誤:

<Error> <Socket> <BEA-000438> <Unable to load performance pack. Using Java I/O instead. Please ensure that wlntio.dll is in: 'D:\Oracle\Middleware\jrockit_160_24_D1.1.2-4\bin;D:\Oracle\Middleware\wlserver_10.3\bin;D:\Oracle\Middleware\wlserver_10.3\server\bin'

<Error> <Socket> <BEA-000403> <IOException occurred on socket: Socket[addr=/127.0.0.1,port=18499,localport=7001]
 java.net.SocketException: recv failed: Descriptor not a socket.
java.net.SocketException: recv failed: Descriptor not a socket
 at jrockit.net.SocketNativeIO.readBytesPinned(Native Method)
 at jrockit.net.SocketNativeIO.socketRead(SocketNativeIO.java:32)
 at java.net.SocketInputStream.socketRead0(SocketInputStream.java)
 at java.net.SocketInputStream.read(SocketInputStream.java:129)
 at weblogic.socket.SocketMuxer.readFromSocket(SocketMuxer.java:980)
 Truncated. see log file for complete stacktrace
>

原因是因為配置不當,weblogic 伺服器找到本地庫檔案引發的錯誤 。

解決辦法:

將目錄D:\Oracle\Middleware\wlserver_10.3\server\native\win\32 下的所有檔案拷貝到 D:\Oracle\Middleware\jrockit_160_24_D1.1.2-4\bin 目錄下。