Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-03-2012, 02:47 AM   #1
LQ Newbie
Registered: Jul 2012
Posts: 1

Rep: Reputation: Disabled
Too many Open Files Deployment exception in Linux and Jboss-AS7 as my App Server

Hi All.,

I am using Jboss As7 as my Application server in Linux box and i am facing issues while deploying my War Files . Below is my Stack Trace :
Caused by: /home/appuser/dpc/jbossas7/standalone/tmp/vfs/deploymentca2dd52bc934385/xbean-2.1.0.jar-972256156c28c093/xbean-2.1.0.jar (Too many open files)
at Method) [rt.jar:1.6.0_22]
at<init>( [rt.jar:1.6.0_22]
at<init>( [rt.jar:1.6.0_22]
at org.jboss.vfs.TempDir.createFile(
at org.jboss.vfs.spi.JavaZipFileSystem.<init>(
at org.jboss.vfs.VFS.mountZip(
at org.jboss.vfs.VFS.mountZip(
... 8 more

I donít know where i am doing wrong , Is there any additional configuration required from Linux side . Can any one tell me the reason behind this . i bit confused the issue at Linux or Jboss end???

Thanks in Advance,
suman alapati.
Old 07-03-2012, 08:35 AM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,558
Blog Entries: 14

Rep: Reputation: 964Reputation: 964Reputation: 964Reputation: 964Reputation: 964Reputation: 964Reputation: 964Reputation: 964
You might want to have a look at ulimit (e.g ulimit -a) for the user you're trying to run this as.

You can change limits in /etc/security/limits.conf (on RedHat derived distros at least).

Typing "man ulimit" will open the bash man page and you can search for discussion of ulimit within that. Typing "man limits.conf" will open man page for the structure of that file.

My first guess would be your error is about user limits controlled by ulimit but it is possible that the jar itself is setting some sort of limit.
Old 07-04-2012, 12:55 AM   #3
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 558
Blog Entries: 5

Rep: Reputation: Disabled
Look after these link
Old 07-04-2012, 08:47 AM   #4
Senior Member
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
There's also a (kernel) sysctl MIB that could be affecting your upper limit of open files. Post output from:
# sysctl fs.file-max


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Book Review for -JBoss AS 7 Configuration Deployment and Administration LXer Syndicated Linux News 0 01-11-2012 08:40 PM
LXer: Deployment Seam 2.0.2 Application against Oracle 10gR2 database to Jboss 4.2.3 LXer Syndicated Linux News 0 08-21-2008 05:40 PM
LXer: Deployment Seam Application against MySQL 5 database to Jboss 4.0.5 utilizing Seam Plugin for NetBeans 5.5.1 LXer Syndicated Linux News 0 06-30-2007 01:16 AM
LXer: Deployment Seam Application against Oracle 10g database to Jboss 4.0.5 LXer Syndicated Linux News 0 06-23-2007 08:32 PM
Tomcat - Web App Deployment JohnCotter Linux - Networking 2 11-09-2003 07:27 AM

All times are GMT -5. The time now is 12:44 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration