Weblogic.security.Encrypt  -and-  Not enough space

This post has two questions.
I have a simple application on wls9.2 that is a web front end to the weblogic.security.Encrypt command line utility. It seems to work fine, but after a little bit of use I am seeing the following:
java.io.IOException: Not enough space
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
at java.lang.Runtime.exec(Runtime.java:591)
at java.lang.Runtime.exec(Runtime.java:429)
at java.lang.Runtime.exec(Runtime.java:326)
at encrypt.wls92Encrypt(Unknown Source)
at encrypt.doGet(Unknown Source)
at encrypt.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3245)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
1) Here is the forking code:
try {
proc = Runtime.getRuntime().exec("java -Dweblogic.RootDirectory="+rootDir+" weblogic.security.Encrypt "+password);
BufferedReader bf=new BufferedReader(new InputStreamReader(proc.getInputStream()));
line=bf.readLine();
bf.close();
} catch (IOException e) {
Is there a better way to do this, without forking? Seems odd to execute a java call, in java, just to get the encrypted string. I'd like to call weblogic.security.Encrypt inline, but have been unable to do so.
2) Why would the Not enough space error creep up? Researching it, it seems like it is a swap problem, but that does not seem to be the case on our system. A top shows:
Memory: 8192M phys mem, 2769M free mem, 5004M swap, 5004M free swap
at the time of failure. Disk usage is looking great as well. The JVM heapsize is around 80% free. An lsof on the system shows about 150 open files on the managed server.
Any ideas on how to troubleshoot this would be appreciated.
Thanks

I use CCleaner from the AppStore to delete the 'useless' stuff. It's free and works great for me

Similar Messages

  • I cant update my software as it always prompted me ,your start up disk is full and not enough space, when i had done the deleting some of my documents and stuff that i dont need it.

    i cant update my software as it always prompted me ,your start up disk is full and not enough space, when i had done the deleting some of my documents and stuff that i dont need it.

    I use CCleaner from the AppStore to delete the 'useless' stuff. It's free and works great for me

  • Java.io.IOException: Not enough space  - Weblogic 8.1 on Solaris 8

    Hi,
    We get "java.io.Exception: Not enough space" sometimes when trying to access
    JSPs hosted on Weblogic 8.1 on Solaris 8. It looks like a problem because of
    increased swap space usage. What should we do to get rid of this issue
    Compilation of '.......java' failed:_____
    (Failed to parse compiler output. See full output below). ____
    Full compiler error(s):
    java.io.IOException: Not enough space
    at java.lang.UNIXProcess.forkAndExec(Native Method)
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:52)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:566)
    at java.lang.Runtime.exec(Runtime.java:491)
    at java.lang.Runtime.exec(Runtime.java:457)
    at weblogic.utils.Executable.exec(Executable.java:227)
    at weblogic.utils.Executable.exec(Executable.java:156)
    at weblogic.utils.Executable.exec(Executable.java:142)
    at
    weblogic.utils.compiler.CompilerInvoker.execCompiler(CompilerInvoker.java:249)
    at
    weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:427)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:321)
    at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:443)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:238)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:188)
    at
    weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:535)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:373)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:463)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
    at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
    at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    Thanks,
    Abhijeet Dev

    Hello,
    I had the same problem and I eradicated it by changing used % of /tmp dir from 97% to 81% by removing unwanted files in /tmp folder.
    Try it out......
    df -k
    Now u will see that ur swap space is not sufficient.Check the corresponding mounting directory.Remove unwanted files from this dir. Restart ur server.Your problem should be solved.Note: Restarting server is not needed but for safe side restart ur server.
    In mine case, my dir was /tmp.I removed all unwanted files and then the problem was solved.
    Thanks
    Chandra

  • I have backed up my ipad to my laptop prior to updating to the latest IOS and now I want to restore the backup back onto the ipad but it says there is not enough space? I have tried unticking all apps i no longer need, music etc but this still doesnt work

    I have updated up my ipad2 which had the original version on it (4.??) to the latest version of IOS. Before I did this I backed up the ipad to my laptop so I wouldnt lose precious pics and videos of my baby boy.  Now that the latest version is on the ipad it is now asking me if I want to start as a new ipad or restore my backup from itunes.  So i select restore my backup from itunes and connect to itunes but it now says there is not enough space to do so.  I have a feeling it is because there are alot of pics on our ipad which i presume are all in this backup, many of which we do not need on the ipad anymore but I have no idea on how I go about deleting these pics??  And how do I find where on my laptop this backup is and most importantly the video and pics of my baby boy.

    Restoring an iPad from an iTunes-generated backup should not require an Apple ID password.
    Did you encrypt the iPad backup? If so, then trying to restore will require entering the encryption password.

  • I changed my LCD last day and now i noticed all my pictures on my phone are gone. I tried to restore the back that I got yesterday but it wont let me because its telling me there is not enough space on my phone!!!

    I changed my LCD last day and now i noticed all my pictures on my phone are gone. I tried to restore the back that I got yesterday but it wont let me because its telling me there is not enough space on my phone!!! That's wierd because I didn't download any app or anything else since my last backup and on the other hand about 3000 pictures are gone, how come there is not enough space left! I also check my usage on my phone and it shows that i have about 7.0 GB pictures!!! BUT my photos is empty! I want my picture back on my phone any solution anyone?

    Thanks for your reply!
    I just called the guy who changed my LCD and asked him what happend, he said there were no pictures on your phone when you gave it to me! i know he is lying tho!
    My apple warranty is over and I have to pay them to get some help over the phone!

  • TS3212 I just purchased a new iphone 4s and I am trying to load some music from my itues. I am getting a message that says not enough space. I checked my phone and it shows i have 5.1G available. do you know how to fix this problem?

    I just purchased a new iphone 4S and I'm trying to loan some music from itunes. I keep getting a message that says not enough space on my phone. I checked my phone and I have 5.1G available. I deselected all the songs on my itunes to try and get it to sync and I keep getting the same message. Any tips?

    Hey csumner1,
    Thanks for the question. I understand you are receiving a "Not enough free space" alert when attempting to sync your new iPhone 4s. The following article may help to resolve your issue:
    iOS: "Not enough free space" alert when trying to sync
    http://support.apple.com/kb/TS1503
    Resolution
    Try disconnecting and reconnecting your device, then syncing again to solve this issue.
    Orphaned files may remain on your iOS device if it is physically disconnected while syncing music, podcasts, videos, or photos. This can prevent iTunes from syncing the iOS device on subsequent sync sessions. When this happens, the Capacity indicator in iTunes may report a large amount of "Other" disk usage for the iOS device. To resolve this issue:
    1. Turn off the music or photo sync option in iTunes for the device.
    2. Click Apply to sync the changes to the device.
    3. Turn the music and photo sync options for the device on again.
    4. Click Apply again to try to sync the device to iTunes.
              - If the 'Not enough free space' alert appears, continue to step 5.
    5. Turn off the automatic syncing functions for the iOS device. To do this:
              - Select the iOS device from the iTunes window and click the Summary tab.
              - Deselect "Automatically sync when this device is connected" and select the "Sync only checked songs and videos" checkbox.
              - Click Apply to sync the changes to the device.
              - Reduce the amount of data that is being synced to the device and resync the device. For example, if syncing your Music library exceeds the memory capacity of the device, choose "Selected playlists" to transfer rather than "All songs and playlists" under the Music tab in iTunes.
    If the 'Not enough free space' alert appears, continue to step 6.
    6. Restore using iTunes.
    Thanks,
    Matt M.

  • I have 'not enough space' cursed Pages; even though I have plenty of room it refuses to let me download and install it.

    Common problem, except all trouble shooting leads to the suicide of the question asker because it yields only claims that no matter what you say, you need to make MORE space. It's a 30 meg file, I have 500 meg free. I have deleted and redownloaded and rebooted about thirty times, in various combinations.
    Previously I have cursed many apps this way, always free apps, so I just accepted they were 'dead' to my phone, even after iOS updates and ever since the iPhone 3 this problem has existed (ie: if you didn't have enough space when you START downloading the first time, kiss that app goodbye for life, it just WILL NOT download EVER.) and will either sit at 'Waiting' for a while then claim there's not enough space, or just sit at 'Waiting' indefinitely and progress no further.
    The only thing I haven't tried is formatting the entire thing as a fresh phone and retrying, but that's pretty extreme. Has Apple acknowledged this bugs existance yet? Every support thread I see gets replies of "Make more space." no matter what the asker states and eventually the guy just stops coming back and asking, so they're all pretty much unresolved.
    Just for the record, I have extensive experience with technology, and am not mentally disabled, so please feel free to talk to me at the level at which your inner voice talks to you, I assure you I will get it. So, can has halp plz? 8(
    (PS: I cannot update to the lates iOS 7 as I do not have the insane size required for it to decompress and install, etc, and to do so would require deleting things I cannot lose or having to back it all up manually because there's no convenient way to do it otherwise. Although I can assure you that this problem has been present since the iPhone 3 first came out which was my first iPhone and has been present in every iOS update since, so I have no reason to believe out of the dozens of updates that iOS 7 has addressed this.)

    When you don't have enough storage to perform an operation, then you don't have enough storage.  have you got the 16GB iphone?

  • I get error message: not enough space to download when I try to buy a tv series on Itunes. It tells me to delete photos or videos to make space, but I have no photos and videos. Help?

    I get error message: not enough space to download when I try to buy a tv series on Itunes. It tells me to delete photos or videos to make space, but I have no photos and videos. Help?

    I would guess that a TV series takes up a fair amount of storage capacity. It is just a standard message I think that may indicate that you are actually running low on storage space.
    If you go to Settings>General>About how many GBs are specified as being available?  If you are low on space maybe deleting some apps may help.

  • I have a ipod touch and i got it for christmas with an iTunes card .the problem is that i downloaded videos and now it said that there is not enough space and i only downloaded 8 and now 5 don't download how do i erase them.can  get my money back

    i have a ipod touch and i got it for christmas with an iTunes card .the problem is that i downloaded videos and now it said that there is not enough space and i only downloaded 8 and now 5 don't download how do i erase them.can  get my money back

    Whatever you read about iTunes is wrong unless you're actually referring to feature movies, not videos. Videos, apps, music and iBooks you can re-download:
    http://support.apple.com/kb/ht2519
    Download to your computer and then sync to your iPod touch whatever will fit.
    And no, I can't say with certainty that they won't give you a refund, but it's unlikely. The most probable outcome, if you do indeed mean movies, not TV shows or other videos, is that they would set up an additional download. For other content they'll probably just direct you to the same instructions on re-downloading I just posted.

  • TS4036 I upgraded to an Iphone 5 and open  new Icloud account, I then backed up my phone on my brothers Mac Pro, I now want to restore my info to my phone and I get a message that says not enough  space. What do I do

    I upgraded to an Iphone 5 and open  new Icloud account, I then backed up my phone on my brothers Mac Pro, I now want to restore my info to my phone and I get a message that says not enough  space. What do I do

    Delete all back ups on MacBook and create new back up. Restart his MB and attempt to restore again. Do not forget to erase your iphone 5 before restore.

  • HT201413 I have a windows HP computer with windows 7 installed, when I try and update and restore my phone, I get an error message of there is not enough space on your computer to restore your phone. Any suggestions and help is appreciated.

    I have a windows HP computer with windows 7 installed, when I try and update and restore my phone, I get an error message of there is not enough space on your computer to restore your phone. Any suggestions and help is appreciated.

    You need to discard or save to an external disk and then discard some of the stuff we all tend to keep forever (movies, music, pictures, docs, apps no longer used, etc.). A clogged up disk also does not function ideally either.

  • Error for 'not enough space' when downloading a video.  I can see that it's music but I'm deleting songs out of my itunes and it's not helping with the space.

    I'm trying to download vide'os to my iPad but I'm getting an error that there is 'not enough space'.  When I look at my space, it's mostly music.  I've deleted out albums from my itunes but it has not freed up any space.  How do I delete these albums?

    Music takes up very little space, movies use a lot of space.
    Settings, music
    Setting, usage
    Both these area will give you info but if the movies are bigger then these areas allow, you may not have enough room even with removing all the music.
    How big are these movies and how many?

  • I transferred my files, including iTunes, to a new computer. When I go to sync, it says I'm still synced with the old, do I want to erase and resync. AND then it says not enough space. What to do?

    I transferred my files, including iTunes, to a new computer. When I go to sync, it says I'm still synced with the old, do I want to erase and resync. AND then it says not enough space. What to do?

    Pictures, assuming they were taken with the device, can be copied off at any time.  This has nothing to do with syncing.
    If the pictures were instead synced to the device via iTunes, they are not the original images.  Instead, they are optimized copies of the originals for display on the iPhone.  There is software that can extract them, google it.
    Where is the backup of the computer?  And before you ask, the iPhone, like all iDevices, is not and has never been a backup device.

  • I've upgraded my MacPro but not enough space to do so on my 5s and iPad.  Should  I take both back to original settings and allow the update?

    Not a techie here...please advise on best method to update 5s and iPad Air.

    To clarify:  I have a 16g iPhone 5s and an iPad 32g and both are due for current Yosemite updates.  I successfully completed Yosemite update for MacPro.  I attempted to delete photos and music from both of the former in order to allow the download, however, still not enough space.  Also removed some apps that weren't being used.  Still not enough space.  So I thought perhaps taking both devices to original straight-from-the-box state might allow for easiest updates to download.

  • I had a repair done at the apple store where the replaced my hard drive and copied my other hard drive over to the new one.  Everything is fine except the time machine wont reconnect to my old file and is trying create a new file but not enough space?

    I had a repair done at the apple store where the replaced my hard drive and copied my other hard drive over to the new one.  Everything is fine except the time machine wont reconnect to my old file and is trying create a new file but not there is not enough space for both files files? Do I need to do something to have it continue to update my old file instead of recreating a new one?

    Depending on what version of OSX you're running, and how the data was transferred, you may be out of luck.
    If you're running Lion, and your backups were made to a directly-connected external HD (ie, not a Time Capsule or other network location), you may be able to get Time Machine to "associate" the new disk with the old backups.  See #B6 in Time Machine - Troubleshooting, especially the pink box there.
    If you're running Snow Leopard, you might be able to do a full system restore of your backups to the new HD.  See Time Machine - Frequently Asked Question #14 for detailed instructions.  That should leave a "trail" that Time Machine can follow to "associate" the new drive with the old backups.  Unfortunately, that doesn't always work, and there's no way to do it manually, as there is with Lion.

Maybe you are looking for