Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SSL - ArrayIndexOutOfBoundsException

1 view
Skip to first unread message

Per Lovdinger

unread,
May 16, 2001, 10:21:15 AM5/16/01
to
Hi,
I get this while running weblogic 5.1 service pack 8 on a AIX version 4.3
using SSL with
web logic pre-installed Certificates.
The strange thing is that it's works fine for one or two request than it
fails in the third one.
(It works fine on windows-2000 as well)

Has anyone any idea what this is ?

thanks in advance.
Per Lovdinger
============================================================================
====================

Wed May 16 12:19:36 BST 2001:<E> <ServletContext-General> exception raised
on '/ram/jsp/ram1.jsp'
java.lang.ArrayIndexOutOfBoundsException: 0
at COM.rsa.jsafe.JA_MD5.digestFinal(JA_MD5.java)
at COM.rsa.jsafe.JG_Digest.digestFinal(JG_Digest.java)
at COM.rsa.jsafe.JSAFE_MessageDigest.digestFinal(JSAFE_MessageDigest.java)
at weblogic.security.provider.MD5.digest(MD5.java:59)
at weblogic.security.SSL.GenericCipher.generateMAC(GenericCipher.java:81)
at weblogic.security.SSL.GenericCipher.<init>(GenericCipher.java:43)
at weblogic.security.SSL.SSLCiphertext.<init>(SSLCiphertext.java:42)
at weblogic.security.SSL.SSLCiphertext.<init>(SSLCiphertext.java:47)
at weblogic.security.SSL.SSLSocket.sendRecord(SSLSocket.java:870)
at weblogic.security.SSL.SSLSocket.sendData(SSLSocket.java:851)
at
weblogic.security.SSL.SSLSocketOutputStream.write(SSLSocketOutputStream.java
:68)
at weblogic.servlet.internal.ChunkUtils.writeChunks(ChunkUtils.java:106)
at
weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamI
mpl.java:124)
at
weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamI
mpl.java:91)
at
weblogic.servlet.internal.ServletOutputStreamImpl.checkForFlush(ServletOutpu
tStreamImpl.java:474)
at
weblogic.servlet.internal.ServletOutputStreamImpl.print(ServletOutputStreamI
mpl.java:174)
at weblogic.servlet.jsp.JspWriterImpl.print(JspWriterImpl.java:133)
at jsp_servlet._ram._jsp._user_list._jspService(_user_list.java:222)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:106)
at
weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
l.java:253)
at
weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
l.java:172)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:113)
at jsp_servlet._ram._jsp._ram1._jspService(_ram1.java:59)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:106)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
l.java:154)
at com.omnipay.ram.control.RamServlet.forwardToNextPage(RamServlet.java:99)
at com.omnipay.ram.control.RamServlet.service(RamServlet.java:73)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:106)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:907)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:851)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
Manager.java:252)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:364)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)

Wed May 16 12:19:36 BST 2001:<E> <ServletContext-General> exception raised
on '/ram/jsp/ram1.jsp'
java.lang.ArrayIndexOutOfBoundsException: 0


Sanjay Tellur

unread,
May 20, 2001, 10:08:52 PM5/20/01
to
Hi,
I too have same problem. we have installed the certifcates on
webserver(Weblogic 5.1, service pack 8.0). We are using even weblogic
as the application server. Both these servers are on diffrent
machines, but the environment is same (AIX 4.3). I am getting exactly
the same error message in my webserver log. let me know, what's the
cause of this prolbem and what's the solution.


Thanks,
Sanjay

"Per Lovdinger" <plovd...@omnipay.ie> wrote in message news:<3b02...@newsgroups2.bea.com>...

Terry Carter

unread,
May 22, 2001, 7:34:47 PM5/22/01
to
After talking to both BEA and IBM the problem is in IBM's port of the
Java JDK 1.2.2

BEA states that 1.2.2 has problem when using T3S processes (SSL).

The fix is to install PTF 11 of the JDK

The IBM APAR# for this is IY17173

IBM states that you should update to PFT 12 which just came out but is
not out for download yet. The APAR for build 12 is IY19319.

We also installed the WebLogic 5.1 SP9 jars which BEA states as
required for PTF 11.

To download IBM APARs goto

http://techsupport.services.ibm.com/rs6000

click on "Fixes, drivers, updates, tools"
click on "Download specific fixes for AIXv4"

You should see a box which says at the top,
"AIX Fix Distribution Service."

Follow the instructions from there, being sure to
scroll down the whole page to fill in all needed
information.

Find the fix by APAR number.
Fill in the appropriate APAR number from above.
APAR numbers always begin with "IX," or "IY"
as in "IX12345" or "IY12345".


>"Per Lovdinger" <plovd...@omnipay.ie> wrote in message news:<3b02...@newsgroups2.bea.com>...

0 new messages