Find and send solution urgent

I have encountered the following exception when I run the
following program using runtime.exec() in solaris. If you have
some idea about it, please let me know.
Thanks.
========= Exception Information ======
java.io.IOException: Too many open files
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.forkAndExec(Compiled Code)
at java.lang.UNIXProcess.<init>(Compiled Code)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.execInternal(Compiled Code)
at java.lang.Runtime.exec(Compiled Code)
at java.lang.Runtime.exec(Compiled Code)
at java.lang.Runtime.exec(Compiled Code)
at TestPro.run(Compiled Code)
at TestPro.main(TestPro.java:29)
========= My Program ============
I wrote the program in JSP on UNIX platform using tomcat server.
Runtime.getRuntime.exec("sh coc.sh "+filename+" "+fileexec);
it is successful execute and create the executefile of the filename(Example : filename.c)
how to execute the fileexec file.
i can use again Runtime.getRuntime.exec("fileexec");
it is give above errors.
please find out solution and send me immediatly.
mail to : [email protected]

It looks like Solaris cannot assign you a new file descriptor since all available descriptors are already in use. We have experienced the same problem under Solaris 7. A possible solution is to adjust the maximum number of open files in the /etc/system configuration file. Search for the following entry (or add it)
* JVM often reports errors about too many open files
set rlim_fd_cur=1024
set rlim_fd_max=4096
I think you will have to reboot the machine after changing the file.

Similar Messages

  • Welcome Find and share solutions with Apple users around the world Ask a Question

    I ignored an emergency call on my iPhone 6, and the phone was disabled for three minutes. What is that all about? I am not even sure that the emergency call was legitimate.

    Sorry - no clue what you are describing. Can you provide full detail of what happened, and how the title of your post is related?
    Cheers,
    GB

  • How are people finding me and sending requests,is ...

    again how are strangers finding me and sending friend requests. is there somewhere they go like a master contact list of all skype customers

    kol wrote:
    again how are strangers finding me and sending friend requests. is there somewhere they go like a master contact list of all skype customers
    no such thing.  unfortunately, scammers and spammers are extremely resourceful people.  
    IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
    ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES
    SEE MORE TIPS, TRICKS, TUTORIALS AND UPDATES in
    | skypefordummies.blogspot.com | 

  • I received a message on my iPhone 4 that has a video attached to it. I "saved video" but don't know where. How do I find it and send it to mi MacBook Air?

    I received a message on my iPhone 4 that has a video attached to it. I "saved video" but don't know where. How do I find it and send it to mi MacBook Air?

    It would have saved to your camera roll.  Connect the phone to your Air via a USB cable and then run Image Capture which is located either in your Utilities folder or Other folder, depending on what version of Mac OS X your are running.  You will then see all the photos and videos stored on your iPhone and can then download them.

  • Hello hi, i just won't to ask, if there has been any changes on how to find a stolen phone, did some one come up with a fare and good solution. as it is not fare at all when some one could use it for free and there is a lot of things could be done to this

    hello hi, i just won't to ask, if there has been any changes on how to find a stolen phone, did some one come up with a fare and good solution, new Apps. as it is not fare at all when some one could use it for free and there is a lot of things could be done to this condition, no one seem to care,
    i have a story about my sister, am talking on her behalf, she got stolen her phone at a caffee when she just come from a horeble exam, she was very mad and having haedace for not doing well at the exam, i ask her if we could have coffee before we go home, once she sate; while i was getting the coffee for her, some one snicked to her pocket and took the phone, immidatly she feelt it and went on to searching, but nathing was hopefull. what makes it more heart braking is that she worked day and night just to buy the phone and pay for her books and so on as a student. she use to work 16 houres a day before she had to start school. 8 houres in one place and then to the other place. and she was always demanding for more houres to work; one day her boss saw her on her other job and she was serprised to see her and saied OHhh my God Milly if you work like this, i wonder if you servive, how could you also ask for more houres, My sis had to do it she has no parents or any thing, well the phone was taken after only two months of having it. the sad thing is she stile dream having it even though she can't think of buying againe. well me i have tryed a lot of things but i know some were out there there is a solution for people like this, it is not always fare for some one who has payed up to 800 to just loose his ......  
    Thnks

    I'm sorry, but your sister, unless she had already turned on the "Find my iPhone" feature and the person who took the phone has not disabled it, is out of luck. She should report the theft to local police authorities, including the serial number of her iPhone. While her experience is unfortunate, there are good reasons why Apple cannot do anything else about it.
    I hope she gets her phone back.
    Best of luck.

  • Why does Apple not give a list of error messages and possible solutions? I have the (-54) error continually that has suddenly appeared and cannot find a solution, even though other users seem to have the same problem.

    Why does Apple not give a list of error messages and possible solutions? I have the (-54) error continually that has suddenly appeared and cannot find a solution, even though other users seem to have the same problem.

    This is a user to user forum.  Apple isn't here and won't answer you.  You need to contact Apple directly.  You can use the Contact button at the bottom of the screen.

  • Mackeeper has detected a virus in the time capsule back up - it is not possible to dele - it ite the file. Do I find time capsule in finder and delete the whole computer back up, then crate a fresh back up? Is that the only solution please?

    mackeeper has detected a virus in the time capsule backup, it is not possible to delete the infected file. Do I mount time capsule in finder and then consign to junk the whole computer backup then create a fresh backup? Is that the only solution please.

    Follow these instructions to uninstall MacKeeper. They have been tested with the most recent version of MacKeeper. Earlier versions than the one released in 2012 require more extensive work to uninstall all its components. Never install such junk on a Mac.
    If you actually used MacKeeper to alter your system, e.g. "remove excess binaries" or such, you will need to reinstall OS X as well as all your additional software. Uninstalling MacKeeper is insufficient to reverse the corruption it is capable of - once again, that is if you used it.
    If you merely installed MacKeeper but did not use it to perform any particular action, the following instructions will suffice.
    If you used MacKeeper to encrypt any files or folders, use MacKeeper to un-encrypt them first.
    Quit the MacKeeper app if it is running.
    Open your Applications folder: Using the Finder's Go menu, select Applications.
    Drag the MacKeeper icon from your Applications folder (not the Dock) to the Trash.
    You will be asked to authenticate (twice):
    You do not need to provide a reason for uninstalling it:
    Just click the Uninstall MacKeeper button. You will be asked to authenticate again.
    After it uninstalls you may empty the Trash and restart your Mac. All that will remain is an inert log file that does nothing but occupy space on your hard disk.
    May I suggest that you review the following setting in System Preferences?
    Although you may easily override that setting, it will serve to protect you from inadvertently installing garbage. The overwhelming majority of Macs I come across have the MacKeeper installer file already present in their Downloads folder, often multiple copies of it. The downloaded file itself can do nothing until it is opened and installed, and the above setting (known as Gatekeeper - not to be confused with MacKeeper) will prevent that from occurring.

  • I was receiving and sending my emails perfectly, now nothing gets downloaded? It checks for new emails but do not find anything and I know there is. Please help

    I was receiving and sending my emails perfectly, now nothing gets downloaded? It checks for new emails but do not find anything and I know there is. Please help

    Oh, the irony of referring to yourself as "myklthebrain".  Make an appointment, at the nearest Apple store, with an Apple Genius, and hope that (s)he can sort it out.

  • My iPhone stolen and I download find my iPhone on it also I can sea it online but I can't locate it so please help me .. What should I do . I heard apple support can activate the GBS and send it to my e_mail . So I hope they can help me with that ...

    My iPhone stolen and I download find my iPhone on it also I can sea it online but I can't locate it so please help me .. What should I do . I heard apple support can activate the GBS and send it to my e_mail . So I hope they can help me with that ...
    Best wishes ..
    <Email Edited by Host>

    These are user-to-user forums, I've asked the hosts to remove your email address from your post.
    Apple and/or iTunes support can't locate it for you, only you can potentially locate it via http://icloud.com on a computer or Find My iPhone / Find My iPad on another device - but that will only work if it's connected to a network and the device hasn't already been wiped and/or Find My iPhone disabled on it.
    If it was stolen then you should report it to the police. You should also change your iTunes account password, your email account passwords, and any passwords that you'd stored on websites/emails/notes etc.

  • HT4910 I try to restore my iPhone last week but I find out that I had lost/missing a lots of photos and messages that I perviously took and send. can iCloud help mr on this?

    I try to restore my iPhone last week but I find out that I had lost/missing a lots of photos and messages that I perviously took and send. can iCloud help mr on this?

    me too

  • I had a iMessage and a facetime account and was textin people and then exited out and then clicked inessage again and it said to setup my account and I did I signed in an decided what account people would find me by and then it just resets and sends sign

    I had a iMessage and a facetime account and was textin people and then exited out and then clicked inessage again and it said to setup my account and I did I signed in an decided what account people would find me by and then it just resets and sends sign

    iOS: Troubleshooting Messages
    iOS: Troubleshooting FaceTime and iMessage activation
    FaceTime, Game Center, Messages: Troubleshooting sign in issues

  • I lost my iphone 5 and it died. If i erased it in lost mode can i get my info on my phone and send it to another? or would it be lost? but if i find my phone can i recover it? can anyone even see the contents in my phone when its in lost mode?

    If i erased it in lost mode can i get my info on my phone and send it to another? or would it be lost? but if i find my phone can i recover it? can anyone even see the contents in my phone when its in lost mode?

    If you wiped it then the data is gone.
    your only hope would be to get a new iphone and restore any backups made of the old phone to the new one.

  • Find deadlock and send notification

    Hi World,
    I am looking for trigger to find out the deadlock and send an email to me to kill .
    can you help me please

    proora, the condition you are speaking about is probably just lock waited task rathter than a deadlock. A deadlock (simple form) is where task_A wants resources held by task_B and task_B want resources held by task_A. Since both process hold resouces needed by the other neighter will ever be able to get the resouces it needs to continue. Oracle will detect this situation and automatically choose a process and kill it so the other process can get the newly freed resources and complete. Oracle records when this occurs.
    Your situation is more highly a locked waited task caused by one session performing DML and not issueing a timely commit to release the locks. Oracle provides a lock tree script in the $ORACLE_HOME/rdbms/admin directly named something like utlltree.sql Numerous lock waited scripts have been posted on this and other forumns.
    The other possibility is that the entire database is hung, but this situation is unlikely. Oracle support provides articles on what to do in the case of a hung database.
    HTH -- Mark D Powell --

  • HT201365 Downloaded iOS7 on my 4S. Mostly went well, but sometimes screens lock up (especially text, but also Settings). Find I cannot access and send texts sometimes, plus do not receive some texts from others (group messages real problem).

    Downloaded iOS7 on my 4S. Mostly went well, but sometimes screens lock up (especially text, but also Settings). Find I cannot access and send texts sometimes, plus do not receive some texts from others (group messages real problem). Any work around? And related problem: Getting told can not connect to network when trying to sign on with Apple ID to launch Facetime and Messages.

    I've restarted several times. If I restore from backup, unfortunately the backup was done after iOS7 downloaded. Now, am I wrong that "restore as new" will essentially wipe me out? If so, and having backup, you're saying essentially start over and then backup?

  • Iphone is becoming hot and facing  the problem of drain battery please find me a solution

    I am having iPhone 4s but recently my iphone is becoming hot and facing  the problem of drain battery please find me a solution
    I have faced these problem more when I have upgraded it to ios 7.1
    Please find me solution

    Hi Gulshan........
    Welcome to SAP........
    Can you please tell us at what point exactly it takes to much time to open?
    Is that at initial stage when you login into SAP or when you do entries or run report?
    When exactly?
    Regards,
    Rahul

Maybe you are looking for