LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 07-03-2012, 03:47 AM   #1
suman3dinnu
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: java.io.FileNotFoundException: /home/appuser/dpc/jbossas7/standalone/tmp/vfs/deploymentca2dd52bc934385/xbean-2.1.0.jar-972256156c28c093/xbean-2.1.0.jar (Too many open files)
at java.io.FileOutputStream.open(Native Method) [rt.jar:1.6.0_22]
at java.io.FileOutputStream.<init>(FileOutputStream.java:209) [rt.jar:1.6.0_22]
at java.io.FileOutputStream.<init>(FileOutputStream.java:160) [rt.jar:1.6.0_22]
at org.jboss.vfs.TempDir.createFile(TempDir.java:93)
at org.jboss.vfs.spi.JavaZipFileSystem.<init>(JavaZipFileSystem.java:83)
at org.jboss.vfs.VFS.mountZip(VFS.java:408)
at org.jboss.vfs.VFS.mountZip(VFS.java:434)
at org.jboss.as.web.deployment.WarStructureDeploymentProcessor.createWebInfLibResources(WarStructureDep loymentProcessor.java:170)
... 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, 09:35 AM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,024
Blog Entries: 5

Rep: Reputation: 789Reputation: 789Reputation: 789Reputation: 789Reputation: 789Reputation: 789Reputation: 789
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, 01:55 AM   #3
arun5002
Member
 
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 549
Blog Entries: 5

Rep: Reputation: Disabled
Hi
Look after these link


http://www.linuxquestions.org/questi...centos-942480/

http://www.chrissearle.org/blog/tech...sh_user_debian
 
Old 07-04-2012, 09:47 AM   #4
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora, Lubuntu, FreeBSD
Posts: 3,930
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:
Code:
# sysctl fs.file-max
 
  


Reply


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 09: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 06: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 02:16 AM
LXer: Deployment Seam Application against Oracle 10g database to Jboss 4.0.5 LXer Syndicated Linux News 0 06-23-2007 09:32 PM
Tomcat - Web App Deployment JohnCotter Linux - Networking 2 11-09-2003 08:27 AM


All times are GMT -5. The time now is 12:20 AM.

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