Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Re: SSL intermittent problem when using DH-based ciphers in Java 7 with Linux

1041503Sep 18 2013 — edited Sep 18 2013

We are facing this issue as well here is exception.

18.09.2013 10:13:33.048 *INFO* [10.100.183.102 [1379517213047] GET /services/drugs/search HTTP/1.1] com.prime.memberportal.cache.StringCacheKeyGenerator com.prime.memberportal.dao.model.ConditionSearchRequest{"condition":"HYZAAR"}

18.09.2013 10:13:33.189 *WARN* [10.100.183.102 [1379517213174] <parse>] servletengine I/O error in execution: {} javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Invalid Padding length: 22

at sun.security.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1476)

at sun.security.ssl.AppInputStream.read(AppInputStream.java:92)

at java.io.InputStream.read(InputStream.java:101)

at com.day.j2ee.servletengine.ServletHandlerImpl.parseRequest(ServletHandlerImpl.java:450)

at com.day.j2ee.servletengine.ServletHandlerImpl.process(ServletHandlerImpl.java:301)

at com.day.j2ee.servletengine.HttpListener$Worker.run(HttpListener.java:644)

at java.lang.Thread.run(Thread.java:724)

Caused by: javax.net.ssl.SSLHandshakeException: Invalid Padding length: 22

at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)

at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1884)

at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:974)

at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)

at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)

at sun.security.ssl.SSLSocketImpl.getSession(SSLSocketImpl.java:2171)

at com.day.j2ee.servletengine.ServletHandlerImpl.getCipherSuite(ServletHandlerImpl.java:978)

at com.day.j2ee.servletengine.RequestImpl.recycle(RequestImpl.java:269)

at com.day.j2ee.servletengine.ServletHandlerImpl.process(ServletHandlerImpl.java:289)

... 2 more

Caused by: javax.crypto.BadPaddingException: Invalid Padding length: 22

at sun.security.ssl.CipherBox.removePadding(CipherBox.java:684)

at sun.security.ssl.CipherBox.decrypt(CipherBox.java:423)

at sun.security.ssl.InputRecord.decrypt(InputRecord.java:154)

at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:969)

... 8 more

Some application in JVM running over HTTPS making call to external web services over HTTPS ...it works well but everyfew hundred call this exception are thrown and after few days JVM is crashing..

It is verified on 721 and 740 ..

OS details: Linux lxlcqp001t 2.6.32-358.18.1.el6.x86_64 #1 SMP Fri Aug 2 17:04:38 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux 

Any suggestion?

Thanks Chandra

Comments

Michael Ferrante-Oracle

Don't use the executable directly.  Instead use the provided shell script found in the instance home/bin.

$DOMAIN_HOME/config/fmwconfig/components/FORMS/instances/forms1/bin/frmbld.sh userid=ACCOUNT/ACCOUNT@cmt batch=no module=$i module_type=form compile_all=yes

vansul

If error is form not created then.

It might be due to create file permission in the output directory.

Or it might be issue with the libraries attached with any form.

Actually show the screenshot of actual wording of the output of the script which says form not created.

Gary_A

Michael, I think he is using the frmcmp.sh shell script, but just being lazy and not showing the actual command run.

However Mr. Random Number, FORM NOT CREATED can come from a whole slew of reasons. You need to show the entire output of what was shown when you ran the command. Why not compile it withing Forms so that it will show you ALL the code that it could not compile in context.

My guess is that you are missing a library that you had in 10g, but did not copy/compile to 12c.

1 - 3
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 16 2013
Added on Sep 18 2013
0 comments
1,535 views