This discussion is archived
0 Replies Latest reply: May 3, 2012 9:17 PM by 934321 RSS

java.sql.exception:No More data read from socket:Java security policy

934321 Newbie
Currently Being Moderated
Hi friends,

We have oracle 10.2.0.4 on linux and our application objects are stored in oracle database it self using loadjava . We frequently getting No More data read from socket. It is giving the same issue when application deployed in weblogic connection to Oracle oracle 10.2.0.4 on linux.

And one of the forums telling that setting java securioty property will sollve this.
Is the following is really helpful?

-Djava.security.egd=file:/dev/../dev/urandom

or use

System.setProperty("java.security.egd", "file:///dev/urandom");

Could you please let me know at where and how to set that. Replies will be appreciated in advance.

Edited by: Bhaskarani on May 1, 2012 8:47 PM

Edited by: Bhaskarani on May 3, 2012 9:14 PM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points