[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Not able to start Weblogic Server

Posted on 2008-11-07
7
Medium Priority
?
1,150 Views
Last Modified: 2013-12-10
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

0
Comment
Question by:sreehariharan
  • 5
  • 2
7 Comments
 
LVL 10

Assisted Solution

by:rajesh_bala
rajesh_bala earned 200 total points
ID: 22909983
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
 
LVL 3

Author Comment

by:sreehariharan
ID: 22939782
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
 
LVL 3

Author Comment

by:sreehariharan
ID: 22994372
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 3

Author Comment

by:sreehariharan
ID: 23148361
Any updates?
0
 
LVL 10

Expert Comment

by:rajesh_bala
ID: 23148684
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
 
LVL 3

Accepted Solution

by:
sreehariharan earned 0 total points
ID: 24700231
Completly deleted the domain and re-configured back
0
 
LVL 3

Author Comment

by:sreehariharan
ID: 24700249
Taken Code Backup and reconfigured
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
Eseutil Hard Recovery is part of exchange tool and ensures Exchange mailbox data recovery when mailbox gets corrupt due to some problem on Exchange server.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

826 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question