Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...It is good to know that there are groups such as this willing to share knowledge in this money driven economy..."

Geography

Where in the world do Tek-Tips members come from?
eaiGeek (Programmer)
30 Sep 03 16:50
Howdy....

I have a mmew that depending on the information sent to it will either pgp encrypt or gzip the information before publishing it to another IQ. The gzip and the encrypt both work fine, however when I have large 'file' sizes ie. information that is about 1.5M large the encryption hangs the mmew.

I think this is beacuse the encryption uses the code Process ps = Runtime.getRuntime().exec(commandLine). I get this error:

mmew_enczip (Information):  StackTrace:
java.io.IOException: Not enough space
        at java.lang.UNIXProcess.forkAndExec(Native Method)
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:54)
        at java.lang.Runtime.execInternal(Native Method)
        at java.lang.Runtime.exec(Runtime.java:551)
        at java.lang.Runtime.exec(Runtime.java:418)
        at java.lang.Runtime.exec(Runtime.java:361)
        at java.lang.Runtime.exec(Runtime.java:325)
        at cr_enczip.executeBusinessRules(cr_enczip.java:93)
        at com.stc.jcsre.JCollaboration.translate(JCollaboration.java:148)
        at com.stc.common.collabService.JCCollabControllerImpl.translate(JCCollabControllerImpl.java:528)
com.stc.common.collabService.CollabDataException: [col_enczip_CTCT] JCollaboration.translate(): Caught unspecified exception from user collaboration executeBusinessRules()

        at com.stc.jcsre.JCollaboration.translate(JCollaboration.java:156)
        at com.stc.common.collabService.JCCollabControllerImpl.translate(JCCollabControllerImpl.java:528)
com.stc.common.collabService.CollabConnException: [col_enczip_CTCT] JCCollabControllerImpl (translate) Error    on calling translate method     of USER CLASS class cr_enczip

        at com.stc.common.collabService.JCCollabControllerImpl.translate(JCCollabControllerImpl.java:549)
com.stc.common.collabService.CollabConnException: [col_enczip_CTCT] JCCollabControllerImpl (translate) Error    in executing translate method

        at com.stc.common.collabService.JCCollabControllerImpl.translate(JCCollabControllerImpl.java:598)

     mmew_enczip (Information): *************************************************


Now checking the error message out it means that basically UNIX can't handle what SeeBeyond is doing....

So my question is: HOW DO I FIX IT? I have tried increasing the swap space, the vmemeory, the stack size, data size (everything under the ulimit command - both hard and soft levels) as well as altering the initial and maximum heap sizes in the mmew itself (using both the initialisation string command '-mx 768000000' or '-Xmx 768000000'and adjusting the values in the configuration).

I HAVE to get a resolution for this asap. I am desparate for an answer - and yes I have logged this with SeeBeyond.... but any more ideas would be helpful......

Cheers,
eaiGeek
essive (MIS)
1 Oct 03 14:11
By look at the core message:
mmew_enczip (Information):  StackTrace:
java.io.IOException: Not enough space


This is suggesting a disk IO capacity problem.  Look at where your files are located (volumes) and run

df -k to see your utilization on the disk

Are you out of tmp space??   Check you .egate.store for your path settings.
eaiGeek (Programmer)
21 Oct 03 18:17
For anyone interested - as it turns out this issue is an environmental one - chances are if something hangs when using an extrenal UNIX process then that will be the case. This comes from the US developers at SeeBeyond

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close