Hi!. I had many problems trying to connect my Dspace to an Oracle database. 
I have two servers with Dspace 5.10 and Dspace 6.3 and in both cases, 
Tomcat takes a lot of time to load and dspace/bi/dspace utilities too. 
Sometimes it was fast, sometimes it hangs and sometimes take a lot of time 
to finish the command execution. I supposed it was a problem related with 
Java version but the problem seems to be the Java driver.

After digging a little I found this solution:

https://truefalsenull.wordpress.com/2017/02/19/slow-or-failed-connections-to-oracle-database-using-java/

So, I modified setenv.sh and /dspace/bin/dspace script adding the line:

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

and now everything goes like a charm.

I think that this solution should be in DSpace wiki because it really works.

Regards.

Diego

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to