[ http://issues.apache.org/jira/browse/AXIS-2568?page=comments#action_12439982 ] Deep Ghosh commented on AXIS-2568: ----------------------------------
All I spent quite sometime on this so I would like to share this with people. sun.security.provider.Sun is BAD. It crashes after 979 new session calls. Random number provider should be sun.security.pkcs11.SunPKCS11. I proved this with a simple java program. Axis uses random number generation to create session id. The random number generator crashes after 979 calls. Consider it resolved. > Axis throws exception after a while > ----------------------------------- > > Key: AXIS-2568 > URL: http://issues.apache.org/jira/browse/AXIS-2568 > Project: Apache Axis > Issue Type: Bug > Environment: Tomcat 5.5.17 Axis 1.4 Unix Sun Solaris > Reporter: Deep Ghosh > Priority: Critical > Attachments: gpm.wsdd > > > I am running a web service accessing Oracle. > It normally runs fine, after sometime it shows this error. > As a result I cannot deploy this web service. > I can provide any information needed. I use all default values. I generated > java code using wsdltojava. > Feel free to contact me at [EMAIL PROTECTED] > java.security.ProviderException: nextBytes() failed > > sun.security.provider.NativePRNG$RandomIO.implNextBytes(NativePRNG.java:270) > > sun.security.provider.NativePRNG$RandomIO.access$200(NativePRNG.java:108) > sun.security.provider.NativePRNG.engineNextBytes(NativePRNG.java:97) > java.security.SecureRandom.nextBytes(SecureRandom.java:413) > > org.apache.axis.utils.SessionUtils.generateSessionId(SessionUtils.java:62) > org.apache.axis.SOAPPart.<init>(SOAPPart.java:164) > org.apache.axis.Message.setup(Message.java:377) > org.apache.axis.Message.<init>(Message.java:235) > org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:628) > javax.servlet.http.HttpServlet.service(HttpServlet.java:709) > > org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]