Not able to start Weblogic Server

Experts,
We are using weblogic server. It was working fine for a past couple of days. for these days we are not able to restart our server.
we are getting securit realms error and more than one key realm has been confingured.
for that the admin console also not opening. so we are not able to modify the key realms.
am attached the logs which i was captured below.

####<Nov 4, 2008 2:25:23 AM EST> <Info> <Logging> <lzubixst.ccdev.att.com> <ubix> <main> <kernel identity> <> <000000> <FileL
ogger Opened at /export/home/abc/logs/bfiles/bfile>
####<Nov 4, 2008 2:25:30 AM EST> <Critical> <WebLogicServer> <lzubixst.ccdev.att.com> <ubix> <main> <kernel identity> <> <000
364> <Server failed during initialization. Exception:weblogic.security.service.SecurityServiceRuntimeException: Security Real
m [CompatibilityRealm] improperly configured - with nested exception:
[Realm CompatibilityRealm not properly configured.
        The realm has more than one private key keystore configured.]>
Realm CompatibilityRealm not properly configured.
        The realm has more than one private key keystore configured.
        at weblogic.management.security.RealmImpl.validate(RealmImpl.java:42)
        at java.lang.reflect.Method.invoke(Native Method)
        at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:1287)
        at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
        at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
        at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:952)
        at weblogic.management.commo.CommoProxy.invoke(CommoProxy.java:384)
        at $Proxy57.validate(Unknown Source)
        at weblogic.security.service.SecurityServiceManagerDelegateImpl.initializeRealm(SecurityServiceManagerDelegateImpl.ja
va:643)
        at weblogic.security.service.SecurityServiceManagerDelegateImpl.loadRealm(SecurityServiceManagerDelegateImpl.java:620
)
        at weblogic.security.service.SecurityServiceManagerDelegateImpl.initializeRealms(SecurityServiceManagerDelegateImpl.j
ava:742)
        at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDelegateImpl.java:53
0)
        at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:917)
        at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
        at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
        at weblogic.Server.main(Server.java:32)
--------------- nested within: ------------------
weblogic.security.service.SecurityServiceRuntimeException: Security Realm [CompatibilityRealm] improperly configured - with n
ested exception:
[Realm CompatibilityRealm not properly configured.
        The realm has more than one private key keystore configured.]
        at weblogic.security.service.SecurityServiceManagerDelegateImpl.initializeRealm(SecurityServiceManagerDelegateImpl.ja
va:647)
        at weblogic.security.service.SecurityServiceManagerDelegateImpl.loadRealm(SecurityServiceManagerDelegateImpl.java:620
)
        at weblogic.security.service.SecurityServiceManagerDelegateImpl.initializeRealms(SecurityServiceManagerDelegateImpl.j
ava:742)

Open in new window

LVL 3
sreehariharanAsked:
Who is Participating?
 
sreehariharanConnect With a Mentor Author Commented:
Completly deleted the domain and re-configured back
0
 
rajesh_balaConnect With a Mentor Commented:
Clear error in config.xml. It seems to have more than one keystore in it.

Edit your config.xml in config directory of your domain and check withing <realm> to check if you have configured more than one private keystore.

Or you could post your config.xml here.
0
 
sreehariharanAuthor Commented:
Rajesh,

Thanks for ur reply. i'll try to post my config.xml, but i checked with the realm in that its having only realm. and i compared with the testing environment both are matching fine.
0
The Lifecycle Approach to Managing Security Policy

Managing application connectivity and security policies can be achieved more effectively when following a framework that automates repeatable processes and ensures that the right activities are performed in the right order.

 
sreehariharanAuthor Commented:
HI rajesh i attach my config.xml below...
please have a look and let me know
<?xml version="1.0" encoding="UTF-8"?>
<!--Last updated on: Wed Sep 17 05:25:56 EDT 2008, If your domain is active, please do not edit the config.xml file. Any changes made to that file while the domain is active will not have any effect on the domain's configuration and are likely to be lost. If your domain is inactive, you may edit this file with an XML editor. If you do so, please refer to the BEA Weblogic Server Configuration Reference  documentation available from http://edocs.bea.com/wls/docs70/config_xml.  In general, we recommend that changes to your configuration file be made through the Administration Console.-->
<Domain AdministrationPortEnabled="false" ConfigurationVersion="7.0.2.0" Name="my_domain">
    <Application Deployed="true" Name="_appsdir_my_war"
        Path="/export/home/my/config/my_domain/applications"
        StagedTargets="" StagingMode="stage" TwoPhase="true">
        <WebAppComponent Name="my" Targets="my" URI="my.war"/>
    </Application>
    <Application Deployed="true" Name="certificate"
        Path="./applications" StagedTargets="" TwoPhase="false">
        <WebAppComponent Name="certificate" Targets="my" URI="certificate.war"/>
    </Application>
    <ApplicationManager Name="my_domain"/>
    <EmbeddedLDAP
        Credential="{3DES}VG9JxF4kb1eacbred+dfd9hyKq2k5Mtkg6Sq60v6iq8dU=" Name="my_domain"/>
    <FileRealm Name="wl_default_file_realm"/>
    <JDBCConnectionPool CapacityIncrement="2"
        DriverName="weblogic.jdbc.oci.Driver" InitialCapacity="6"
        LoginDelaySeconds="1" MaxCapacity="20" Name="odbcconn"
        Properties="user=abcd;password=myabcd#;server=(description=(address=(protocol=tcp)(host=112.125.123.16)(port=1521))(connect_data=(sid=M0)))"
        RefreshMinutes="5" Targets="my" TestTableName="dual" URL="jdbc:weblogic:oracle"/>
    <JDBCConnectionPool CapacityIncrement="2"
        DriverName="oracle.jdbc.driver.OracleDriver" InitialCapacity="6"
        LoginDelaySeconds="1" MaxCapacity="50" Name="odbcconn2"
        Properties="user=abcd;password=myabcd;protocol=thin"
        RefreshMinutes="5" TestTableName="dual" URL="jdbc:oracle:thin:@112.125.123.17:1521:M03"/>
    <JDBCConnectionPool CapacityIncrement="2" DeploymentOrder="1000"
        DriverName="weblogic.jdbc.oci.Driver" InitialCapacity="6"
        JDBCXADebugLevel="0" LoginDelaySeconds="1" MaxCapacity="50"
        Name="odbcconn3"
        Properties="user=abcd;password=myabcd;server=M03"
        RefreshMinutes="5" ShrinkPeriodMinutes="15"
        ShrinkingEnabled="true" SupportsLocalTransaction="false"
        TestConnectionsOnRelease="false"
        TestConnectionsOnReserve="false" TestTableName="dual" URL="jdbc:weblogic:oracle"/>
    <JTA BeforeCompletionIterationLimit="10" Name="my_domain"/>
    <Log FileName="config/my_domain/logs/wl-domain.log" Name="my_domain"/>
    <PasswordPolicy Name="wl_default_password_policy"/>
    <Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
    <SNMPAgent Name="my_domain"/>
    <Security CompatibilityMode="true" GuestDisabled="false"
        Name="my_domain" PasswordPolicy="wl_default_password_policy"
        Realm="wl_default_realm" RealmSetup="true"/>
    <SecurityConfiguration
        Credential="{3DES}rUb+vDu8vpDfs+RCPHFixtnUaTSacZsdfdsfdsAAd1KSMkEorgm+TKo72hYagg9mxcMWWvdPzQBETCT73apKxjRR8qPD4ywMk/DR" Name="my_domain"/>
    <Server EnabledForDomainLog="false"
        InstrumentStackTraceEnabled="true"
        JDBCLogFileName="my/jdbc.log" JDBCLoggingEnabled="true"
        ListenPort="7001" LogRemoteExceptionsEnabled="false" Name="my"
        NativeIOEnabled="true" ServerVersion="7.0.3.0"
        StdoutDebugEnabled="true" StdoutEnabled="true" StdoutSeverityLevel="64">
        <COM Name="my"/>
        <ExecuteQueue Name="default" ThreadCount="20"/>
        <IIOP Name="my"/>
        <JTAMigratableTarget Cluster="" Name="my" UserPreferredServer="my"/>
        <JTARecoveryService Name="my"/>
        <KernelDebug Name="my"/>
        <Log FileCount="100" FileMinSize="1000"
            FileName="/export/home/my/logs/bfiles/bfile"
            FileTimeSpan="24" Name="my" NumberOfFilesLimited="true" RotationType="byTime"/>
        <SSL Enabled="true" HostnameVerificationIgnored="true"
            KeyEncrypted="false" ListenPort="7002" Name="my"
            ServerCertificateChainFileName="/export/home/my/config/my_domain/verisign.pem"
            ServerCertificateFileName="/export/home/my/config/my_domain/certificate.pem"
            ServerPrivateKeyAlias="as356" ServerPrivateKeyPassPhrase="{3DES}j7thG+NZ9WDUkUff91H8vw=="/>
        <ServerDebug Name="my"/>
        <ServerStart Name="my"/>
        <WebServer
            LogFileName="/export/home/my/config/my_domain/logs/access.log"
            LoggingEnabled="false" Name="my"/>
    </Server>
    <StartupClass ClassName="com.att.my.properties.PropertiesStartup"
        FailureIsFatal="false" Name="myProperties" Targets="my"/>
</Domain>

Open in new window

0
 
sreehariharanAuthor Commented:
Any updates?
0
 
rajesh_balaCommented:
Hi Sreehariharan,

Unfortunately I have weblogic 10.x in my current system. Can we try this option to make weblogic start atleast and later configure the keystore and ssl through console.

Comment out the following in config.xml and restart the server.

<!--

-->
0
 
sreehariharanAuthor Commented:
Taken Code Backup and reconfigured
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.