File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Distributed Java and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Reply locked New topic

"No enough Space" Exception

Neelam Gautam

Joined: Oct 23, 2006
Posts: 6
Hi All!

I want to do telnet from my unix server to a windows server for it i use JTA Api of java. but while i am running 'exec' function by my RunTime Object , i am getting " Not enough space" Exception. but i have enough space on my server. so whats the problem with my code..? is there any bug of IO..? my code snippet is as follows::

String exec="telnet 5501";
Runtime run=Runtime.getRuntime();
Process proc=run.exec(exec); // exception comes here ..

please help

Thnaks in advance.

Neelam Gautam
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Please do not post the same question to multiple forums: CarefullyChooseOneForum

Let's continue the discussion in this duplicate thread.
I agree. Here's the link:
subject: "No enough Space" Exception
It's not a secret anymore!