同事发来日志说通过证书不能登录系统,口令登陆正常,一看原来是服务器证书到期,更换就行,OK,搞定下面是日志和证书信息。
< 2014-4-8 上午08时56分57秒 CST> <Error> <HTTP> <BEA-101216> <Servlet: "velocity" failed to preload on startup in Web application: "dwcm".
javax.servlet.ServletException: org/apache/velocity/io/VelocityWriterat weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:990)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:954)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:893)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3456)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3401)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3382)
at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:6262)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:892)
at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2181)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2222)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2169)
at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:3111)
at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1769)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:352)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
at weblogic.Server.main(Server.java:32)
Caused by: java.lang.NoClassDefFoundError: org/apache/velocity/io/VelocityWriter
at java.lang.Class.newInstance(I)Ljava.lang.Object;(Unknown Source)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1097)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:975)
... 18 more
>
<2014-4-8 上午08时56分57秒 CST> <Notice> <Security> <BEA-090170> <Loading the private key stored under the alias 1 from the JKS keystore file /weblogic/user_projects/domains/portaldomain/server.jks.>
<2014-4-8 上午08时56分57秒 CST> <Notice> <Security> <BEA-090171> <Loading the identity certificate stored under the alias 1 from the JKS keystore file /weblogic/user_projects/domains/portaldomain/server.jks.>
<2014-4-8 上午08时56分57秒 CST> <Alert> <Security> <BEA-090154> <Identity certificate has expired: [
[
Version: V3
Subject: CN=10.142.46.71, OU=00, O=00, L=00, ST=43, C=CN
Signature Algorithm: SHA1withRSA, OID = 1.2.840.113549.1.1.5
Key: SunJSSE RSA public key:
public exponent:
010001
modulus:
bc75ec1d 98924bae b9950106 6aca13e1 37347835 ec572de6 bfffd95d e1ca1335
da9c2e27 bd9017c4 a3ca061b eecca3e6 b2d0b85f e9f4b5f1 d51b1e66 071313b7
0b397344 371fa4e1 6f9a9dbd f178c3ad 2c4f8185 6cc210b9 d4c29e21 fb7de6d8
b90aeafa 883ce8bc e3a86108 46f38b23 0ee1f24e e38de9f0 9a724895 295cd109
Validity: [From: Tue Apr 21 13:04:16 CST 2009,
To: Wed Mar 26 13:04:16 CST 2014]
Issuer: CN=HNCA, L=00, L=00, ST=43, C=CN
SerialNumber: [ 24cae466 6b334c5e ecdec86e 5ff398a5]
Certificate Extensions: 4
[1]: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: C0 A9 3F BF DA B4 BA 05 66 06 AD 31 8A 45 56 E3 ..?.....f..1.EV.
0010: 69 EE B0 A3 i...
]
]
[2]: ObjectId: 2.5.29.35 Criticality=false
AuthorityKeyIdentifier [
KeyIdentifier [
0000: CE E1 DF 5F 38 0A F8 C6 25 B8 31 9C 44 6C 46 41 ..._8...%.1.DlFA
0010: 24 08 63 F0 $.c.
]
]
[3]: ObjectId: 2.5.29.31 Criticality=false
CRLDistributionPoints [
[DistributionPoint:
[CN=crl14_0, CN=HNCA, L=00, L=00, ST=43, C=CN]
]]
[4]: ObjectId: 2.5.29.19 Criticality=false
BasicConstraints:[
CA:false
PathLen:2147483647
]
]
Algorithm: [SHA1withRSA]
Signature:
0000: 0B 4C 8D D4 47 6D B7 5F 18 F3 86 C2 5C F8 06 23 .L..Gm._....\..#
0010: 65 E6 C5 27 62 00 D3 5D 07 8A B2 30 FF E3 09 68 e..'b..]...0...h
0020: 58 20 EE F7 AA 73 40 93 05 3C 17 37 93 B0 97 FC X ...s@..<.7....
0030: 54 07 C2 99 AC A7 84 6F B6 A1 BB 94 AF 3C 74 A4 T......o.....<t.
0040: 40 ED AA 33 59 EB 9E 29 9C EC 31 C7 BC B2 D6 53 @..3Y..)..1....S
0050: 96 68 83 69 92 20 5E ED 45 05 41 E3 B1 95 F5 2D .h.i. ^.E.A....-
0060: 1A F1 17 AA 96 0A EB 48 86 E8 7F 39 C2 0E 6F 16 .......H...9..o.
0070: 44 15 36 C3 DB E0 9B 5E 4F 0C F7 CC 7D 88 5D C7 D.6....^O.....].
]>
<2014-4-8 上午08时56分57秒 CST> <Error> <WebLogicServer> <BEA-000297> <Inconsistent security configuration, java.lang.Exception: Certificate expired: [
[
Version: V3
Subject: CN=10.142.46.71, OU=00, O=00, L=00, ST=43, C=CN
Signature Algorithm: SHA1withRSA, OID = 1.2.840.113549.1.1.5
Key: SunJSSE RSA public key:
public exponent:
010001
modulus:
bc75ec1d 98924bae b9950106 6aca13e1 37347835 ec572de6 bfffd95d e1ca1335
da9c2e27 bd9017c4 a3ca061b eecca3e6 b2d0b85f e9f4b5f1 d51b1e66 071313b7
0b397344 371fa4e1 6f9a9dbd f178c3ad 2c4f8185 6cc210b9 d4c29e21 fb7de6d8
b90aeafa 883ce8bc e3a86108 46f38b23 0ee1f24e e38de9f0 9a724895 295cd109
Validity: [From: Tue Apr 21 13:04:16 CST 2009,
To: Wed Mar 26 13:04:16 CST 2014]
Issuer: CN=HNCA, L=00, L=00, ST=43, C=CN
SerialNumber: [ 24cae466 6b334c5e ecdec86e 5ff398a5]
Certificate Extensions: 4
[1]: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: C0 A9 3F BF DA B4 BA 05 66 06 AD 31 8A 45 56 E3 ..?.....f..1.EV.
0010: 69 EE B0 A3 i...
]
]
[2]: ObjectId: 2.5.29.35 Criticality=false
AuthorityKeyIdentifier [
KeyIdentifier [
0000: CE E1 DF 5F 38 0A F8 C6 25 B8 31 9C 44 6C 46 41 ..._8...%.1.DlFA
0010: 24 08 63 F0 $.c.
]
]
[3]: ObjectId: 2.5.29.31 Criticality=false
CRLDistributionPoints [
[DistributionPoint:
[CN=crl14_0, CN=HNCA, L=00, L=00, ST=43, C=CN]
]]
[4]: ObjectId: 2.5.29.19 Criticality=false
BasicConstraints:[
CA:false
PathLen:2147483647
]
]
Algorithm: [SHA1withRSA]
Signature:
0000: 0B 4C 8D D4 47 6D B7 5F 18 F3 86 C2 5C F8 06 23 .L..Gm._....\..#
0010: 65 E6 C5 27 62 00 D3 5D 07 8A B2 30 FF E3 09 68 e..'b..]...0...h
0020: 58 20 EE F7 AA 73 40 93 05 3C 17 37 93 B0 97 FC X ...s@..<.7....
0030: 54 07 C2 99 AC A7 84 6F B6 A1 BB 94 AF 3C 74 A4 T......o.....<t.
0040: 40 ED AA 33 59 EB 9E 29 9C EC 31 C7 BC B2 D6 53 @..3Y..)..1....S
0050: 96 68 83 69 92 20 5E ED 45 05 41 E3 B1 95 F5 2D .h.i. ^.E.A....-
0060: 1A F1 17 AA 96 0A EB 48 86 E8 7F 39 C2 0E 6F 16 .......H...9..o.
0070: 44 15 36 C3 DB E0 9B 5E 4F 0C F7 CC 7D 88 5D C7 D.6....^O.....].
]>
<2014-4-8 上午08时56分57秒 CST> <Emergency> <Security> <BEA-090034> <Not listening for SSL, java.io.IOException: Inconsistent security configuration, Certificate expired: [
[
Version: V3
Subject: CN=10.142.46.71, OU=00, O=00, L=00, ST=43, C=CN
Signature Algorithm: SHA1withRSA, OID = 1.2.840.113549.1.1.5
Key: SunJSSE RSA public key:
public exponent:
010001
modulus:
bc75ec1d 98924bae b9950106 6aca13e1 37347835 ec572de6 bfffd95d e1ca1335
da9c2e27 bd9017c4 a3ca061b eecca3e6 b2d0b85f e9f4b5f1 d51b1e66 071313b7
0b397344 371fa4e1 6f9a9dbd f178c3ad 2c4f8185 6cc210b9 d4c29e21 fb7de6d8
b90aeafa 883ce8bc e3a86108 46f38b23 0ee1f24e e38de9f0 9a724895 295cd109
Validity: [From: Tue Apr 21 13:04:16 CST 2009,
To: Wed Mar 26 13:04:16 CST 2014]
Issuer: CN=HNCA, L=00, L=00, ST=43, C=CN
SerialNumber: [ 24cae466 6b334c5e ecdec86e 5ff398a5]
Certificate Extensions: 4
[1]: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: C0 A9 3F BF DA B4 BA 05 66 06 AD 31 8A 45 56 E3 ..?.....f..1.EV.
0010: 69 EE B0 A3 i...
]
]
[2]: ObjectId: 2.5.29.35 Criticality=false
AuthorityKeyIdentifier [
KeyIdentifier [
0000: CE E1 DF 5F 38 0A F8 C6 25 B8 31 9C 44 6C 46 41 ..._8...%.1.DlFA
0010: 24 08 63 F0 $.c.
]
]
[3]: ObjectId: 2.5.29.31 Criticality=false
CRLDistributionPoints [
[DistributionPoint:
[CN=crl14_0, CN=HNCA, L=00, L=00, ST=43, C=CN]
]]
[4]: ObjectId: 2.5.29.19 Criticality=false
BasicConstraints:[
CA:false
PathLen:2147483647
]
]
Algorithm: [SHA1withRSA]
Signature:
0000: 0B 4C 8D D4 47 6D B7 5F 18 F3 86 C2 5C F8 06 23 .L..Gm._....\..#
0010: 65 E6 C5 27 62 00 D3 5D 07 8A B2 30 FF E3 09 68 e..'b..]...0...h
0020: 58 20 EE F7 AA 73 40 93 05 3C 17 37 93 B0 97 FC X ...s@..<.7....
0030: 54 07 C2 99 AC A7 84 6F B6 A1 BB 94 AF 3C 74 A4 T......o.....<t.
0040: 40 ED AA 33 59 EB 9E 29 9C EC 31 C7 BC B2 D6 53 @..3Y..)..1....S
0050: 96 68 83 69 92 20 5E ED 45 05 41 E3 B1 95 F5 2D .h.i. ^.E.A....-
0060: 1A F1 17 AA 96 0A EB 48 86 E8 7F 39 C2 0E 6F 16 .......H...9..o.
0070: 44 15 36 C3 DB E0 9B 5E 4F 0C F7 CC 7D 88 5D C7 D.6....^O.....].
].>
<2014-4-8 上午08时56分58秒 CST> <Notice> <WebLogicServer> <BEA-000355> <Thread "ListenThread.Default" listening on port 7001, ip address 10.142.55.74>
<2014-4-8 上午08时56分58秒 CST> <Notice> <Cluster> <BEA-000102> <Joining cluster ClusterPortal on 237.0.0.5:8080>
<2014-4-8 上午08时56分58秒 CST> <Notice> <WebLogicServer> <BEA-000330> <Started WebLogic Managed Server "server74" for domain "portalclusterdomain" running in Production Mode>
<2014-4-8 上午08时56分58秒 CST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
<2014-4-8 上午08时56分59秒 CST> <Notice> <Security> <BEA-090171> <Loading the identity certificate stored under the alias 1 from the JKS keystore file /weblogic/user_projects/domains/portaldomain/server.jks.>
<2014-4-8 上午08时56分59秒 CST> <Notice> <Security> <BEA-090170> <Loading the private key stored under the alias 1 from the JKS keystore file /weblogic/user_projects/domains/portaldomain/server.jks.>
<2014-4-8 上午08时56分59秒 CST> <Notice> <Security> <BEA-090171> <Loading the identity certificate stored under the alias 1 from the JKS keystore file /weblogic/user_projects/domains/portaldomain/server.jks.>
<2014-4-8 上午08时56分59秒 CST> <Notice> <Security> <BEA-090170> <Loading the private key stored under the alias 1 from the JKS keystore file /weblogic/user_projects/domains/portaldomain/server.jks.>
<2014-4-8 上午08时57分01秒 CST> <Notice> <Security> <BEA-090171> <Loading the identity certificate stored under the alias 1 from the JKS keystore file /weblogic/user_projects/domains/portaldomain/server.jks.>
<2014-4-8 上午08时57分01秒 CST> <Notice> <Security> <BEA-090170> <Loading the private key stored under the alias 1 from the JKS keystore file /weblogic/user_projects/domains/portaldomain/server.jks.>
<2014-4-8 上午08时57分02秒 CST> <Notice> <Security> <BEA-090171> <Loading the identity certificate stored under the alias 1 from the JKS keystore file /weblogic/user_projects/domains/portaldomain/server.jks.>
<2014-4-8 上午08时57分02秒 CST> <Notice> <Security> <BEA-090170> <Loading the private key stored under the alias 1 from the JKS keystore file /weblogic/user_projects/domains/portaldomain/server.jks.>
RYANTEST:====bzbm=4310
init userInfo
2014-04-08 08:57:02,345 INFO [ExecuteThread: '96' for queue: 'weblogic.kernel.Default'] (PropertyMessageResources.java:127) - Initializing, config='org.apache.struts.actions.LocalStrings', returnNull=true
executeSQL:select row_.*,rownum rownum_ from (select ZRDW,JYAQ,JJBH,JJR,JJSJ from T_STAT_SHOW_JQDT_SIMPLE where 1=1 order by jjsj desc)row_ where rownum <=10
请看下图证书文件里面的信息