1. linux系统启动weblogic受管服务器报如下错误时:

Multicast socket receive error: java.net.SocketException: Socket closed
……
java.io.IOException: Invalid argument
解决办法:
打开/home/weblogic/Oracle/Middleware/user_projects/domains/base_domain/bin下的startManagedWebLogic.sh文件,找到
JAVA_OPTIONS="-Dweblogic.security.SSL.trustedCAKeyStore="/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/cacerts" ${JAVA_OPTIONS}"
修改为
JAVA_OPTIONS="-Dweblogic.security.SSL.trustedCAKeyStore="/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/cacerts" ${JAVA_OPTIONS} -Djava.net.preferIPv4Stack=true"

  1. 报如下错误:
    <Server failed. Reason:

There are 1 nested errors:

java.lang.ClassCastException: com.octetstring.vde.backend.BackendRoot cannot be cast to com.octetstring.vde.backend.standard.BackendStandard
at weblogic.ldap.EmbeddedLDAP.start(EmbeddedLDAP.java:303)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)




解决办法:懒得去找具体哪个文件被修改了,使用root用户把整个weblogic安装目录的权限修改,chown -R weblogic:bea wlserver

3.报如下错误代码:
(AddressUtils.java:33)
at weblogic.server.channels.AddressUtils.getIPAny(AddressUtils.java:154)
at weblogic.protocol.configuration.ChannelHelper.checkConsistency(ChannelHelper.java:61)
at weblogic.server.channels.ChannelService.start(ChannelService.java:205)
Truncated. see log file for complete stacktrace
Caused By: java.net.UnknownHostException: wlsfr-stl-0015: wlsfr-stl-0015
at java.net.InetAddress.getLocalHost(InetAddress.java:1354)
at weblogic.server.channels.AddressUtils$AddressMaker.getLocalHost(AddressUtils.java:36)
at weblogic.server.channels.AddressUtils$AddressMaker.(AddressUtils.java:33)
at weblogic.server.channels.AddressUtils.getIPAny(AddressUtils.java:154)
at weblogic.protocol.configuration.ChannelHelper.checkConsistency(ChannelHelper.java:61)
Truncated. see log file for complete stacktrace


错误原因:此次出错是在服务器上,linux环境,刚装的weblogic,启动服务报错,后来查明原因是hosts文件里127.0.0.1 没有与hostname对应上。在windows环境下主机一直默认叫做localhost,服务器有一个主机名,所以报错啦
解决办法:在/etc/hosts文件内加入127.0.01

4,服务已启动无报错,登录Weblogic控制台,点击》》部署》》点开服务,里面有个测试项 ,点击测试项里的连接 ,报正在在努力加载请求》请重试,查看日志文件报如下错误 :

<[ServletContext@1843127600[app:isc_sso module:isc_sso path:/isc_sso spec-version:2.5]] Root cause of ServletException.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'casSamlServiceSuccessView': Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class org.jasig.cas.web.view.Saml10SuccessResponseView
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:997)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:943)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
Truncated. see log file for complete stacktrace

Caused By: java.lang.NoClassDefFoundError: Could not initialize class org.jasig.cas.web.view.Saml10SuccessResponseView
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
Truncated. see log file for complete stacktrace

修改Weblogic Jar 包冲突 : 进入%weblogic 安装目录%\Middleware\modules,找到 com.bea.core.bea.opensaml_1.0.0.0_5- 1-0-0.jar 和
com.bea.core.bea.opensaml2_1.0.0.0_5- 1-0-0.jar 包,删除。

5,weblogic管理服务死锁问题

Unable to obtain lock on /home/weblogic/user_projects/domains/rca_domain/servers/sgrca_rca_jar/tmp/sgrca_rca_jar.lok server may already be running

解决办法:删除清理WEBLOGIC所有服务缓存

6, Caused by: java.security.cert.CertificateParsingException: PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11

解决办法:
更换JDK版本为jrockit1.5.0_14后启动成功

7,创建域时停留在70%不动 :
解决方案:
修改 %JAVA_HOME/Jre/lib/security/java.security
把securerandom.source=file:/dev/./urandom改为

securerandom.source=file:/dev/zero


涛ZHAO
28 声望1 粉丝

引用和评论

0 条评论