SAP Knowledge Base Article - Preview

2490681 - AS Java hangs in "Starting framework" due to incorrect SSL configuration


As Java startup takes long time. In dev_server log file you can see that (in this case) startup took 50 minutes:

F [Thr 140202962179840] Tue Jun  6 12:02:08 2017
F  [Thr 140202962179840] *** LOG => State changed from 0 (Initial) to 1 (Waiting to start).
F  [Thr 140202962179840] *** LOG => State changed from 1 (Waiting to start) to 2 (Starting framework).

F [Thr 140202962179840] Tue Jun  6 12:52:11 2017
F  [Thr 140202962179840] *** LOG => State changed from 2 (Starting framework) to 10 (Starting apps).

F [Thr 140201370146560] Tue Jun  6 12:53:34 2017
F  [Thr 140201370146560] *** LOG => State changed from 10 (Starting apps) to 3 (Running).

You executed thread dumps according to SAP Note 1095473. Then you analyzed these thread dumps in Eclipse Memory Analyzer tool according to the following SAP document: Analyzing Thread Dumps.

There are 1 threads starting services
1 (from 1) threads are running - at java.math.BigInteger.addOne(). Caller - at iaik.pkcs.pkcs1.RSACipher.rawPublicRSA() Details
CSS component: BC-JAS-SEC for iaik.pkcs.pkcs1.RSACipher

The result of analyzation points to the below stack in dev/std_server log files:

J  "Service Runner [ssl]" #100 prio=5 os_prio=0 cpu=2971100.00 [reset 2970540.00] ms elapsed=3003.67 [reset 2985.61] s allocated=123391898520 B (114.92 GB) [reset 123300158552 B (114.83 GB)] defined_classes=295
J  io= file i/o: 673428/1783 B, net i/o: 3336894/673179 B, files opened:14, socks opened:0  [reset file i/o: 590065/1582 B, net i/o: 292305/18339 B, files opened:9, socks opened:0 ]
J  tid=0x00007f83544da000 nid=0x7ecc / 32460  pthread-id=140201869395712 runnable  [_thread_blocked (_call_back), stack(0x00007f834a7f4000,0x00007f834a9f5000)J 
J Tue Jun  6 12:52:11 2017
] [0x00007f834a9f2000] top_bci: 70
J     java.lang.Thread.State: RUNNABLE
J   at java.math.BigInteger.addOne([IIII)I(
J   at java.math.BigInteger.montReduce([I[III)[I(
J   at java.math.BigInteger.implMontgomerySquare([I[IIJ[I)[I(
J   at java.math.BigInteger.montgomerySquare([I[IIJ[I)[I(
J   at java.math.BigInteger.oddModPow(Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;(
J   at java.math.BigInteger.modPow(Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;(
J   at iaik.pkcs.pkcs1.RSACipher.rawPublicRSA(Ljava/math/BigInteger;Ljava/security/interfaces/RSAPublicKey;)Ljava/math/BigInteger;(Unknown Source)
J   at iaik.pkcs.pkcs1.RSACipher.rawCrypt([B)[B(Unknown Source)
J   at iaik.pkcs.pkcs1.RSACipher.b([B)[B(Unknown Source)
J   at iaik.pkcs.pkcs1.RSACipher.engineDoFinal([BII)[B(Unknown Source)
J   at[BII)[B(Unknown Source)
J   at[B)[B(Unknown Source)
J   at[B)Z(Unknown Source)
J   at$Delegate.engineVerify([B)Z(
J   at[B)Z(
J   at iaik.x509.X509Certificate.verify(Ljava/security/PublicKey;Ljava/lang/String;)V(Unknown Source)
J   at iaik.x509.X509Certificate.verify(Ljava/security/PublicKey;)V(Unknown Source)
J   at;Liaik/x509/X509Certificate;)Z(
J   at;)Z(
J   at;[Liaik/x509/X509Certificate;[Liaik/x509/X509Certificate;)Lcom/sap/engine/services/keystore/impl/coder/SecudeObject;(
J   at;[[Ljava/lang/Object;)Ljava/lang/String;(
J   at;)V(
J   at;)V(
J   at
J   at<init>()V(
J   at
J   - locked <0x00000006a19ab108> (a java.lang.Class for
J   at
J   - locked <0x00000006a1727690> (a java.lang.Class for
J   at;)V(
J   at;)V(
J   at
J   at



SAP NetWeaver for AS Java 7.1X/7.2/7.3X/7.4/7.5 using SSL.


SAP NetWeaver 7.1 ; SAP NetWeaver 7.2 ; SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP enhancement package 1 for SAP NetWeaver 7.3


AS Java, AS Java startup, Startup, Startup hangs, Starting Framework, Thread dump, SSL, PSE, Keystore view, SSL port, PSE file not updated, Export the keystore view to PSE,  java.math.BigInteger.addOne, iaik.pkcs.pkcs1.RSACipher, upgrade, deployment, SSL, SSL configuration. slow startup, long startup, fails to start, failed to start , KBA , BC-JAS-SEC , Security, User Management , BC-JAS-COR , Enterprise Runtime, Core J2EE Framework , BC-JAS-SF , Startup Framework , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.