199 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
How do I avoid deletion of plan branch in Bamboo?
Thu, Jul 27th 2017 4
Orika mapper...
Wed, Jul 26th 2017 4
Do you miss "Expressions" view while debugging in Eclipse?
Sun, Jun 25th 2017 2
View by projects or working sets in Eclipse
Tue, May 23rd 2017 3
Hybris setup issue: Unsupported major.minor version 52.0
Thu, Mar 23rd 2017 1
If you can't install Oracle Express XE 11g 2 on Windows...
Wed, Mar 22nd 2017 2
How could I be so stupid using hibernate criteria with timestamp?
Wed, Aug 31st 2016 2
Top 10
Back to basics
Tue, Jun 7th 2016 8
SECJ0118E with form authentication and spnego enabled
Mon, Jan 6th 2014 7
Building bitcoin/litecoin on mac os x missing EC.h
Mon, Nov 9th 2015 6
Cognos-setup.bat error
Tue, Nov 12th 2013 5
SVN: E175002: Getting crazy with Maven Release Plugin (solved)
Wed, Sep 23rd 2015 5
How I ran Gradle with cntlm
Wed, May 25th 2016 4
How do I avoid deletion of plan branch in Bamboo?
Thu, Jul 27th 2017 4
Orika mapper...
Wed, Jul 26th 2017 4
AssertionException in IBM Connections
Wed, Dec 18th 2013 3
Problem installing Cognos Transformer for Connections on Windows
Tue, Nov 12th 2013 3


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
2 hits



Recent Blog Posts
4
How do I avoid deletion of plan branch in Bamboo?
Thu, Jul 27th 2017 4:37p   Francesco De Collibus
Make sure the following checkbox is not flagged:
4
Orika mapper...
Wed, Jul 26th 2017 4:19p   Francesco De Collibus
The Orika mapper used in Hybris always perform a deep copy based on the attribute name instead of the attribute class.
2
Do you miss "Expressions" view while debugging in Eclipse?
Sun, Jun 25th 2017 4:19p   Francesco De Collibus
From time to time, I forget where the expression view can be set in Eclipse... it's right here in the Window panel
3
View by projects or working sets in Eclipse
Tue, May 23rd 2017 12:37p   Francesco De Collibus
View by projects or working sets in Eclipse...always comes in handy!
1
Hybris setup issue: Unsupported major.minor version 52.0
Thu, Mar 23rd 2017 3:49p   Francesco De Collibus
While I was typing the final "ant all" command for hybris, it miserably failed with the following exception hybris/bin/platform/resources/ant/antmacros.xml:123: java.lang.UnsupportedClassVersionError: de/hybris/ant/taskdefs/DbDriverValidator : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) Even though a "java -version" gave me back version 8, ant is still using $JAVA_HOME variable. So you have to change it into the script. My suggestion is that y
2
If you can't install Oracle Express XE 11g 2 on Windows...
Wed, Mar 22nd 2017 10:26p   Francesco De Collibus
I spent the whole afternoon trying to set up a Oracle Express instance without any success. I had the drivers installed, but I could not uninstall them. It looked like the main instance was not correctly set up. After looking around, I noticed that even after complete uninstall of Oracle XE still the ORACLE_HOME environment variable was still there. I tried again manually removing it from System Variables and then reinstalling... and it finally worked!
2
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




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