Linux 2.6.9-55.0.2.ELsmp 环境下WebLogic Server 8.1.6启动报错问题的解决

WLS的启动脚本如下 startWeglogic.sh

# Initialize the common environment.

WL_HOME="/home/weblogic/bea/weblogic81"

PRODUCTION_MODE="true"

JAVA_VENDOR="Sun"

JAVA_HOME="/home/weblogic/bea/jdk142_11"

# Call commEnv here AFTER setting the java_vendor to get common environmental settings.

. ${WL_HOME}/common/bin/commEnv.sh

# Set SERVER_NAME to the name of the server you wish to start up.

SERVER_NAME="myserver"

FMISLIB="${WL_HOME}/server/FMISLib/axis.jar:${WL_HOME}/server/FMISLib/axis-ant.jar:${WL_HOME}/server/FMISLib/commons-beanutils.jar:${WL_HOME}/server/FMISLib/commons-collections.jar:${WL_HOME}/server/FMISLib/commons-digester.jar:${WL_HOME}/server/FMISLib/commons-discovery.jar:${WL_HOME}/server/FMISLib/commons-logging.jar:${WL_HOME}/server/FMISLib/jaxrpc.jar:${WL_HOME}/server/FMISLib/jstl.jar:${WL_HOME}/server/FMISLib/jstl_el.jar:${WL_HOME}/server/FMISLib/log4j-1.2.8.jar:${WL_HOME}/server/FMISLib/msbase.jar:${WL_HOME}/server/FMISLib/mssqlserver.jar:${WL_HOME}/server/FMISLib/msutil.jar:${WL_HOME}/server/FMISLib/saaj.jar:${WL_HOME}/server/FMISLib/spy.jar:${WL_HOME}/server/FMISLib/wsdl4j.jar:${WL_HOME}/server/FMISLib/xercesImpl.jar:${WL_HOME}/server/FMISLib/YGFMISUsedThird.jar:${WL_HOME}/server/FMISLib/ojdbc14.jar"

CLASSPATH="${FMISLIB}:${WEBLOGIC_CLASSPATH}:${POINTBASE_CLASSPATH}:${JAVA_HOME}/jre/lib/rt.jar:${WL_HOME}/server/lib/webservices.jar:${CLASSPATH}"
export CLASSPATH

# Call WebLogic Server

echo ${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS} -Dlog4j.configuration="log4j.xml" -Dweblogic.Name=${SERVER_NAME} -Dweblogic.ProductionModeEnabled=${PRODUCTION_MODE} -Djava.security.policy="${WL_HOME}/server/lib/weblogic.policy" weblogic.Server

${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS} -Dlog4j.configuration="log4j.xml" -Dweblogic.Name=${SERVER_NAME} -Dweblogic.ProductionModeEnabled=${PRODUCTION_MODE} -Djava.security.policy="${WL_HOME}/server/lib/weblogic.policy" weblogic.Server
 

配置文件config.xml

[root@EAMAPP eamDomain]# vi config.xml
<?xml version="1.0" encoding="UTF-8"?>
<Domain ConfigurationVersion="8.1.6.0" Name="eamDomain">
    <Server EnabledForDomainLog="false" ListenAddress=""
        ListenPort="9080" Name="myserver" NativeIOEnabled="true"
        ReliableDeliveryPolicy="RMDefaultPolicy" ServerVersion="8.1.6.0">
        <SSL Enabled="false" HostnameVerificationIgnored="false"
            IdentityAndTrustLocations="KeyStores" Name="myserver"/>
        <Log FileCount="5" FileMinSize="1024" Name="myserver" NumberOfFilesLimited="true"/>
        <WebServer LoggingEnabled="false" Name="myserver"/>
        <ExecuteQueue Name="weblogic.kernel.Default" ThreadCount="100"/>
    </Server>
    <JMSFileStore Directory="rmfilestore" Name="FileStore"/>
    <WSReliableDeliveryPolicy DefaultRetryCount="10"
        DefaultTimeToLive="60000" Name="RMDefaultPolicy" Store="FileStore"/>
    <Security Name="eamDomain"
        PasswordPolicy="wl_default_password_policy"
        Realm="wl_default_realm" RealmSetup="true"/>
    <EmbeddedLDAP
        CredentialEncrypted="{3DES}hoWlMicWr/4wkHP76i7Qc/8b9veWIplwGf48be7Sqz8=" Name="eamDomain"/>
    <SecurityConfiguration
        CredentialEncrypted="{3DES}dIzSvq1fhWeZtJrBi4EJG3zr+iDkse0OQ0je9UC0uqBOEIcrS/h4qqpNIGhf3za86amVHnEMC/wHlMl2nNLL321zTjwac0KK"
        Name="eamDomain" RealmBootStrapVersion="1"/>
    <Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
    <FileRealm Name="wl_default_file_realm"/>
    <PasswordPolicy Name="wl_default_password_policy"/>
    <JMSServer Name="WSStoreForwardInternalJMSServermyserver"
        Store="FileStore" Targets="myserver">
        <JMSQueue CreationTime="1175572066531"
            JNDIName="jms.internal.queue.WSStoreForwardQueue"
            JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSStoreForwardQueuemyserver"/>
        <JMSQueue CreationTime="1175572066828"
            JNDIName="jms.internal.queue.WSDupsEliminationHistoryQueue"
            JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSDupsEliminationHistoryQueuemyserver"/>
    </JMSServer>
    <JTA Name="eamDomain" TimeoutSeconds="600"/>
    <Log FileCount="5" FileMinSize="1024" Name="eamDomain" NumberOfFilesLimited="true"/>
    <JDBCConnectionPool CapacityIncrement="5"
        DriverName="oracle.jdbc.driver.OracleDriver"
        InitialCapacity="40" MaxCapacity="80"
        Name="MyJDBC Connection Pool"
        PasswordEncrypted="{3DES}N0VtLUq9H6pqVSQbu1JvhA=="
        Properties="user=fmis_main" Targets="myserver"
        TestConnectionsOnReserve="true" TestFrequencySeconds="0"
        TestTableName="SQL SELECT 1 FROM DUAL" URL="jdbc:oracle:thin:@10.232.1.77:1521:eamdb"/>
    <JDBCTxDataSource JNDIName="jdbc/fmismain" Name="fmismain"
        PoolName="MyJDBC Connection Pool" Targets="myserver"/>
    <Application Name="FMIS.20070612"
        Path="/home/weblogic/bea/user_projects/domains/eamDomain/myserver/upload/FMIS.20070612.1812"
        StagingMode="nostage" TwoPhase="true">
        <EJBComponent Name="FMISBase.jar" Targets="myserver" URI="FMISBase.jar"/>
        <EJBComponent Name="FMISCommon.jar" Targets="myserver" URI="FMISCommon.jar"/>
        <EJBComponent Name="FMISDF.jar" Targets="myserver" URI="FMISDF.jar"/>
        <WebAppComponent Name="FMISEnquery" Targets="myserver" URI="FMISEnquery.war"/>
        <EJBComponent Name="FMISWL.jar" Targets="myserver" URI="FMISWL.jar"/>
        <WebAppComponent Name="FMISWeb" Targets="myserver" URI="FMISWeb.war"/>
        <EJBComponent Name="FMISYS.jar" Targets="myserver" URI="FMISYS.jar"/>
        <EJBComponent Name="FMISZW.jar" Targets="myserver" URI="FMISZW.jar"/>
        <EJBComponent Name="FMISBusiness.jar" Targets="myserver" URI="FMISBusiness.jar"/>
        <EJBComponent Name="FMISDataSet.jar" Targets="myserver" URI="FMISDataSet.jar"/>
        <WebAppComponent Name="FMISView" Targets="myserver" URI="FMISView.war"/>
        <EJBComponent Name="FMISSystem.jar" Targets="myserver" URI="FMISSystem.jar"/>
        <EJBComponent Name="FMISQuery.jar" Targets="myserver" URI="FMISQuery.jar"/>
        <WebAppComponent Name="FMISQueryWeb" Targets="myserver" URI="FMISQueryWeb.war"/>
        <WebAppComponent Name="FMISResWeb" Targets="myserver" URI="FMISResWeb.war"/>
        <WebAppComponent Name="FMISViewWeb" Targets="myserver" URI="FMISViewWeb.war"/>
        <EJBComponent Name="FMISBillDJ.jar" Targets="myserver" URI="FMISBillDJ.jar"/>
        <EJBComponent Name="FMISRL.jar" Targets="myserver" URI="FMISRL.jar"/>
        <WebAppComponent Name="FMISRLWeb" Targets="myserver" URI="FMISRLWeb.war"/>
        <EJBComponent Name="YGMQSYS.jar" Targets="myserver" URI="YGMQSYS.jar"/>
    </Application>
    <Application Name="YGFMIS60.20070612"
        Path="/home/weblogic/bea/user_projects/domains/eamDomain/myserver/upload/YGFMIS60.20070612.1503weblogic"
        StagingMode="nostage" TwoPhase="true">
        <EJBComponent Name="YGFMISFWEjb.jar" Targets="myserver" URI="YGFMISFWEjb.jar"/>
        <WebAppComponent Name="YGFMISWeb" Targets="myserver" URI="YGFMISWeb"/>
        <WebAppComponent Name="YGFMISWebRes" Targets="myserver" URI="YGFMISWebRes.war"/>
    </Application>
    <JDBCMultiPool AlgorithmType="Load-Balancing" Name="MyJDBC MultiPool"/>
</Domain>

启动错误如下

[weblogic@EAMAPP eamDomain]$ ./startWebLogic.sh
.
CLASSPATH=/home/weblogic/bea/weblogic81/server/FMISLib/axis.jar:/home/weblogic/bea/weblogic81/server/FMISLib/axis-ant.jar:/home/weblogic/bea/weblogic81/server/FMISLib/commons-beanutils.jar:/home/weblogic/bea/weblogic81/server/FMISLib/commons-collections.jar:/home/weblogic/bea/weblogic81/server/FMISLib/commons-digester.jar:/home/weblogic/bea/weblogic81/server/FMISLib/commons-discovery.jar:/home/weblogic/bea/weblogic81/server/FMISLib/commons-logging.jar:/home/weblogic/bea/weblogic81/server/FMISLib/jaxrpc.jar:/home/weblogic/bea/weblogic81/server/FMISLib/jstl.jar:/home/weblogic/bea/weblogic81/server/FMISLib/jstl_el.jar:/home/weblogic/bea/weblogic81/server/FMISLib/log4j-1.2.8.jar:/home/weblogic/bea/weblogic81/server/FMISLib/msbase.jar:/home/weblogic/bea/weblogic81/server/FMISLib/mssqlserver.jar:/home/weblogic/bea/weblogic81/server/FMISLib/msutil.jar:/home/weblogic/bea/weblogic81/server/FMISLib/saaj.jar:/home/weblogic/bea/weblogic81/server/FMISLib/spy.jar:/home/weblogic/bea/weblogic81/server/FMISLib/wsdl4j.jar:/home/weblogic/bea/weblogic81/server/FMISLib/xercesImpl.jar:/home/weblogic/bea/weblogic81/server/FMISLib/YGFMISUsedThird.jar:/home/weblogic/bea/weblogic81/server/FMISLib/ojdbc14.jar:/home/weblogic/bea/jdk142_11/lib/tools.jar:/home/weblogic/bea/weblogic81/server/lib/weblogic_sp.jar:/home/weblogic/bea/weblogic81/server/lib/weblogic.jar::/home/weblogic/bea/weblogic81/common/eval/pointbase/lib/pbserver44.jar:/home/weblogic/bea/weblogic81/common/eval/pointbase/lib/pbclient44.jar:/home/weblogic/bea/jdk142_11/jre/lib/rt.jar:/home/weblogic/bea/weblogic81/server/lib/webservices.jar:
.
PATH=/home/weblogic/bea/weblogic81/server/bin:/home/weblogic/bea/jdk142_11/jre/bin:/home/weblogic/bea/jdk142_11/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/weblogic/bin
.
***************************************************
*  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    *
***************************************************
/home/weblogic/bea/jdk142_11/bin/java -server -Xms1024m -Xmx2048m -XX:MaxPermSize=128m -Dlog4j.configuration=log4j.xml -Dweblogic.Name=myserver -Dweblogic.ProductionModeEnabled=true -Djava.security.policy=/home/weblogic/bea/weblogic81/server/lib/weblogic.policy weblogic.Server
<2007-6-30 上午11时00分54秒 CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Server VM Version 1.4.2_11-b06 from Sun Microsystems Inc.>
<2007-6-30 上午11时00分54秒 CST> <Info> <Configuration Management> <BEA-150016> <This server is being started as the administration server.>
<2007-6-30 上午11时00分54秒 CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 8.1 SP6  Wed Jun 21 08:18:55 PDT 2006 781680
WebLogic XMLX Module 8.1 SP6  Wed Jun 21 08:18:55 PDT 2006 781680 >
<2007-6-30 上午11时00分55秒 CST> <Notice> <Management> <BEA-140005> <Loading domain configuration from configuration repository at /home/weblogic/bea/user_projects/domains/eamDomain/./config.xml.>
<2007-6-30 上午11时00分58秒 CST> <Notice> <Log Management> <BEA-170019> <The server log file /home/weblogic/bea/user_projects/domains/eamDomain/myserver/myserver.log is opened. All server side log events will be written to this file.>
2007-6-30 11:00:58 weblogic.logging.WLErrorManager error
Critical: Handler: '/home/weblogic/bea/user_projects/domains/eamDomain/myserver/myserver.log' reported critical error(s). Shutting it down.
java.io.FileNotFoundException: /home/weblogic/bea/user_projects/domains/eamDomain/myserver/myserver.log (Permission denied)
        at java.io.FileOutputStream.openAppend(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
        at weblogic.logging.FileStreamHandler.open(FileStreamHandler.java:139)
        at weblogic.logging.FileStreamHandler.publish(FileStreamHandler.java:173)
        at java.util.logging.Logger.log(Logger.java:424)
        at weblogic.logging.MessageLogger.log(MessageLogger.java:92)
        at weblogic.management.internal.LogMgmtLogger.logServerLogFileOpened(LogMgmtLogger.java:363)
        at weblogic.t3.srvr.T3Srvr.startServerLogger(T3Srvr.java:936)
        at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:796)
        at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343)
        at weblogic.Server.main(Server.java:32)
Error creating logFile: ./myserver/ldap/log/EmbeddedLDAP.log (Permission denied)
<2007-6-30 上午11时00分58秒 CST> <Error> <EmbeddedLDAP> <000000> <Error opening the Transaction Log: ./myserver/ldap/ldapfiles/EmbeddedLDAP.tran (Permission denied)>
2007-6-30 11:00:58 weblogic.logging.WLErrorManager error
Critical: Handler: '/home/weblogic/bea/user_projects/domains/eamDomain/myserver/myserver.log' reported critical error(s). Shutting it down.
java.io.FileNotFoundException: /home/weblogic/bea/user_projects/domains/eamDomain/myserver/myserver.log (Permission denied)
        at java.io.FileOutputStream.openAppend(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
        at weblogic.logging.FileStreamHandler.open(FileStreamHandler.java:139)
        at weblogic.logging.FileStreamHandler.publish(FileStreamHandler.java:173)
        at java.util.logging.Logger.log(Logger.java:424)
        at weblogic.logging.MessageLogger.log(MessageLogger.java:121)
        at weblogic.logging.MessageLogger.log(MessageLogger.java:112)
        at weblogic.logging.LogOutputStream.error(LogOutputStream.java:44)
        at weblogic.ldap.EmbeddedLDAP.log(EmbeddedLDAP.java:595)
        at com.octetstring.vde.util.Logger.log(Logger.java:288)
        at com.octetstring.vde.backend.standard.TransactionLog.open(TransactionLog.java:247)
        at com.octetstring.vde.backend.standard.TransactionLog.<init>(TransactionLog.java:62)
        at com.octetstring.vde.backend.standard.BackendStandard.<init>(BackendStandard.java:247)
        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:274)
        at com.octetstring.vde.backend.BackendHandler.<init>(BackendHandler.java:244)
        at com.octetstring.vde.backend.BackendHandler.getInstance(BackendHandler.java:340)
        at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:268)
        at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:815)
        at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343)
        at weblogic.Server.main(Server.java:32)
<2007-6-30 上午11时00分58秒 CST> <Error> <EmbeddedLDAP> <000000> <Error Instantiating 'dc=eamDomain': null>
2007-6-30 11:00:58 weblogic.logging.WLErrorManager error
Critical: Handler: '/home/weblogic/bea/user_projects/domains/eamDomain/myserver/myserver.log' reported critical error(s). Shutting it down.
java.io.FileNotFoundException: /home/weblogic/bea/user_projects/domains/eamDomain/myserver/myserver.log (Permission denied)
        at java.io.FileOutputStream.openAppend(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
        at weblogic.logging.FileStreamHandler.open(FileStreamHandler.java:139)
        at weblogic.logging.FileStreamHandler.publish(FileStreamHandler.java:173)
        at java.util.logging.Logger.log(Logger.java:424)
        at weblogic.logging.MessageLogger.log(MessageLogger.java:121)
        at weblogic.logging.MessageLogger.log(MessageLogger.java:112)
        at weblogic.logging.LogOutputStream.error(LogOutputStream.java:44)
        at weblogic.ldap.EmbeddedLDAP.log(EmbeddedLDAP.java:595)
        at com.octetstring.vde.util.Logger.log(Logger.java:288)
        at com.octetstring.vde.backend.BackendHandler.<init>(BackendHandler.java:248)
        at com.octetstring.vde.backend.BackendHandler.getInstance(BackendHandler.java:340)
        at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:268)
        at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:815)
        at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343)
        at weblogic.Server.main(Server.java:32)
<2007-6-30 上午11时00分58秒 CST> <Critical> <EmbeddedLDAP> <BEA-171522> <An error occurred while initializing the Embedded LDAP Server. The exception thown is java.lang.ClassCastException. This may indicate a problem with the data files for the Embedded LDAP Server. If the problem is with the data files and it can not be corrected, backups of previous versions of the data files exist in ./myserver/ldap/backup.>
2007-6-30 11:00:58 weblogic.logging.WLErrorManager error
Critical: Handler: '/home/weblogic/bea/user_projects/domains/eamDomain/myserver/myserver.log' reported critical error(s). Shutting it down.
java.io.FileNotFoundException: /home/weblogic/bea/user_projects/domains/eamDomain/myserver/myserver.log (Permission denied)
        at java.io.FileOutputStream.openAppend(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
        at weblogic.logging.FileStreamHandler.open(FileStreamHandler.java:139)
        at weblogic.logging.FileStreamHandler.publish(FileStreamHandler.java:173)
        at java.util.logging.Logger.log(Logger.java:424)
        at weblogic.logging.MessageLogger.log(MessageLogger.java:92)
        at weblogic.ldap.EmbeddedLDAPLogger.logErrorInitializingLDAPMaster(EmbeddedLDAPLogger.java:285)
        at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:280)
        at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:815)
        at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343)
        at weblogic.Server.main(Server.java:32)
<2007-6-30 上午11时00分58秒 CST> <Critical> <WebLogicServer> <BEA-000364> <Server failed during initialization. Exception:weblogic.server.ServiceFailureException: Error initializing Embedded LDAP Server - with nested exception:
[java.lang.ClassCastException]
java.lang.ClassCastException
        at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:273)
        at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:815)
        at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343)
        at weblogic.Server.main(Server.java:32)
--------------- nested within: ------------------
weblogic.server.ServiceFailureException: Error initializing Embedded LDAP Server - with nested exception:
[java.lang.ClassCastException]
        at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:283)
        at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:815)
        at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343)
        at weblogic.Server.main(Server.java:32)
>
2007-6-30 11:00:58 weblogic.logging.WLErrorManager error
Critical: Handler: '/home/weblogic/bea/user_projects/domains/eamDomain/myserver/myserver.log' reported critical error(s). Shutting it down.
java.io.FileNotFoundException: /home/weblogic/bea/user_projects/domains/eamDomain/myserver/myserver.log (Permission denied)
        at java.io.FileOutputStream.openAppend(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
        at weblogic.logging.FileStreamHandler.open(FileStreamHandler.java:139)
        at weblogic.logging.FileStreamHandler.publish(FileStreamHandler.java:173)
        at java.util.logging.Logger.log(Logger.java:424)
        at weblogic.logging.MessageLogger.log(MessageLogger.java:92)
        at weblogic.t3.srvr.T3SrvrLogger.logServerFailedDuringInitialization1(T3SrvrLogger.java:2415)
        at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:683)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343)
        at weblogic.Server.main(Server.java:32)
<2007-6-30 上午11时00分58秒 CST> <Emergency> <WebLogicServer> <BEA-000342> <Unable to initialize the server: weblogic.server.ServiceFailureException: Error initializing Embedded LDAP Server - with nested exception:
[java.lang.ClassCastException]>
2007-6-30 11:00:58 weblogic.logging.WLErrorManager error
Critical: Handler: '/home/weblogic/bea/user_projects/domains/eamDomain/myserver/myserver.log' reported critical error(s). Shutting it down.
java.io.FileNotFoundException: /home/weblogic/bea/user_projects/domains/eamDomain/myserver/myserver.log (Permission denied)
        at java.io.FileOutputStream.openAppend(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
        at weblogic.logging.FileStreamHandler.open(FileStreamHandler.java:139)
        at weblogic.logging.FileStreamHandler.publish(FileStreamHandler.java:173)
        at java.util.logging.Logger.log(Logger.java:424)
        at weblogic.logging.MessageLogger.log(MessageLogger.java:92)
        at weblogic.t3.srvr.T3SrvrLogger.logNotInitialized(T3SrvrLogger.java:2091)
        at weblogic.t3.srvr.T3Srvr.handleFatalInitializationException(T3Srvr.java:475)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:374)
        at weblogic.Server.main(Server.java:32)
***************************************************************************
The WebLogic Server did not start up properly.
Exception raised: 'weblogic.server.ServiceFailureException: Error initializing Embedded LDAP Server - with nested exception:
[java.lang.ClassCastException]'
Reason: weblogic.server.ServiceFailureException: Error initializing Embedded LDAP Server - with nested exception:
[java.lang.ClassCastException
***************************************************************************
[weblogic@EAMAPP eamDomain]$

解决办法:

EmbeddedLDAP.tran不知何时变成root下的了,修改文件权限,问题解决

 

你可能感兴趣的:(Linux 2.6.9-55.0.2.ELsmp 环境下WebLogic Server 8.1.6启动报错问题的解决)