192 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
How could I be so stupid using hibernate criteria with timestamp?
Wed, Aug 31st 2016 3
Java ALWAYS passes by value (and it is ALWAYS an interesting discussion)
Thu, Jun 23rd 2016 9
Back to basics
Tue, Jun 7th 2016 7
How I ran Gradle with cntlm
Wed, May 25th 2016 5
Did you know?
Mon, May 23rd 2016 4
UNION makes ALL the strength
Tue, Apr 5th 2016 4
What TNS stands for in Oracle?
Mon, Mar 14th 2016 5
Top 10
Java ALWAYS passes by value (and it is ALWAYS an interesting discussion)
Thu, Jun 23rd 2016 9
SECJ0118E with form authentication and spnego enabled
Mon, Jan 6th 2014 7
Back to basics
Tue, Jun 7th 2016 7
AssertionException in IBM Connections
Wed, Dec 18th 2013 5
WASService.sh and ulimit.... a tricky combo
Thu, Nov 14th 2013 5
Problem installing Cognos Transformer for Connections on Windows
Tue, Nov 12th 2013 5
What TNS stands for in Oracle?
Mon, Mar 14th 2016 5
How I ran Gradle with cntlm
Wed, May 25th 2016 5
Very soon
Wed, Mar 19th 2014 4
Cognos-setup.bat error
Tue, Nov 12th 2013 4


WASService.sh and ulimit.... a tricky combo
Twitter Google+ Facebook LinkedIn Addthis Email Gmail Flipboard Reddit Tumblr WhatsApp StumbleUpon Yammer Evernote Delicious
   


From version 7 onward, the Application Server scripts and configuration scripts have the good manner to set by themselves the right ulimit valu. So ulimit is now less a problem than it was before. The problem is that, sometime when dealing with linux services,things do not always get right.

For example you get exceptions such as

[11/14/13 12:06:15:483 CET] 00000066 exception     E com.ibm.ws.wim.adapter.ldap.LdapAdapter authenticateWithPassword
                                 com.ibm.websphere.wim.exception.WIMSystemException: CWWIM4520E  The 'javax.naming.CommunicationException: ldapus.ldap.domain.com:389 [Root exception is java.net.SocketException: Too many open files]' naming exception occurred during processing.

(In case you are asking, yes, network connections are counted as open files)

That's why I strongly suggest to modify your /etc/security/limits.conf (on RedHat) before restarting your machine, after you added WASService.sh service to your linux box. We added to the file the following two lines to the /etc/security/limits.conf

*               soft    nofile            32768
*               hard   nofile            32768

and then restarted the machine and had my Connections environment working.






---------------------
http://fdecollibus.blogspot.com/2013/11/wasservicesh-and-ulimit-tricky-combo.html
Nov 14, 2013
6 hits



Recent Blog Posts
3
How could I be so stupid using hibernate criteria with timestamp?
Wed, Aug 31st 2016 8:06p   Francesco De Collibus
I needed to make a query to find all records valid today for columns with effectiveFrom and effectiveTo range I spent a couple of hours trying to understand why criteria.add(Restrictions.ge("effectiveFrom",currentDate.getTime())); criteria.add(Restrictions.le("effectiveTo",currentDate.getTime())); was giving no results. After many trials and attempts with other criteria tricks, I remembered that hibernate is not comparting if currentDate.getTime is greater than ef
9
Java ALWAYS passes by value (and it is ALWAYS an interesting discussion)
Thu, Jun 23rd 2016 4:47p   Francesco De Collibus
Always good as a refresher. So, when calling a methodFor primitive arguments (int, long, etc.), the pass by value is the actual value of the primitive (for example, 3).For objects, the pass by value is the value of the reference to the object. http://stackoverflow.com/questions/40480/is-java-pass-by-reference-or-pass-by-value
7
Back to basics
Tue, Jun 7th 2016 8:50a   Francesco De Collibus
I stumbled upon this one, as a rookie :) http://www.programcreek.com/2014/01/java-util-concurrentmodificationexception/ whohaaa, it hurts :)
5
How I ran Gradle with cntlm
Wed, May 25th 2016 7:20a   Francesco De Collibus
I was behind a corporate firewall and had to run gradlew (gradle) from Cygwin. The system was running a cntlm authentication proxy. I ran the following command export http_proxy=http://127.0.0.1:3128/ export https_proxy=$http_proxy Then I ran ./gradlew -Dhttps.proxyHost=127.0.0.1 -Dhttps.proxyPort=3128 -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=3128 I hope it helps
4
Did you know?
Mon, May 23rd 2016 12:09p   Francesco De Collibus
That pushing CTRL + directional arrows allows you to skim a text document by entire words? This discovery is going to change my life!
4
UNION makes ALL the strength
Tue, Apr 5th 2016 1:47p   Francesco De Collibus
Following the advice from a very expert consultant, I changed my views from an UNION between two select from the same table to UNION ALL and the performance improvements were simply amazing. Before doing so, I had verified that the query were returning different results with the INTERSECT command before doing so. The difference is that UNION verifies that records are unique, while UNION ALL doesn't. The performance gain is very remarkable
5
What TNS stands for in Oracle?
Mon, Mar 14th 2016 11:56a   Francesco De Collibus
I just discovered that TNS names in Oracle stand for "Transparent Network Substrate". I feel so happy that I need to share this "secret" with the rest of the universe.




Created and Maintained by Yancy Lent - About - Planet Lotus Blog - Advertising - Mobile Edition