While exec'ing a command line from within Java JDK 1.2.2_06 (native thread,
sunwjit), an I/O exception was returned within a PrivilegedActionException
with the message "Not enough space".
The ulimits of the process were all set to "unlimited" before running
the application. There is no indication of what resource may have been
exhausted.
Further information:
o The complex function being executed is the launch of a background
process to add multiple users to Solaris. The process never gets
launched by the exec.
o This task worked for about three times before the failure case
documented here. Once things failed, the task never worked again,
even if the SMC 2.0 console was restarted in a new window.
o The test was done on an S8U3 system (build 6) running the installed JRE,
JDK_1.2.2_06, native threads, sunwjit
The following println statements show the command to be executed
(from within the SMC 2.0 console process) and the traceback of the
exception:
VC: command: /usr/sadm/lib/smc/bin/smc -t --trust --hostname sail8-191 --username roo
t --tool com.sun.admin.usermgr.cli.user.UserMgrCli --domain file:/sail8-191/sail8-191
-J-D"usermgr.Debugging"="ON" -J-D"usermgr.serviceType"="Wbem" -- -i /tmp/muxo_file -
K R --MUXO
VC: execing command...
VC: PAE exception, msg: Not enough space
java.io.IOException: Not enough space
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:62)
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(Runtime.java:219)
at com.sun.management.viperimpl.client.ViperClient$1.run(ViperClient.java:103
1)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(Compiled Code)
at com.sun.management.viperimpl.client.ViperClient.execConsole(Compiled Code)
at com.sun.management.viperimpl.ToolInfrastructureImpl.execConsole(ToolInfras
tructureImpl.java:70)
at com.sun.admin.usermgr.client.users.AdminMultiUserWiz.doFinish(Compiled Cod
e)
at com.sun.admin.usermgr.client.users.AdminMultiUserReviewStep.stop(AdminMult
iUserReviewStep.java:331)
at com.sun.management.viper.console.gui.wizard.VWizardManager.moveForward(VWi
zardManager.java:55)
at com.sun.management.viper.console.gui.wizard.VWizard.moveForward(Compiled C
ode)
at com.sun.management.viper.console.gui.wizard.VWizard$4.actionPerformed(Comp
iled Code)
at javax.swing.AbstractButton.fireActionPerformed(Compiled Code)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Compiled Co
de)
at javax.swing.DefaultButtonModel.fireActionPerformed(Compiled Code)
at javax.swing.DefaultButtonModel.setPressed(Compiled Code)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Compiled Code)
at java.awt.Component.processMouseEvent(Compiled Code)
at java.awt.Component.processEvent(Compiled Code)
at java.awt.Container.processEvent(Compiled Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.LightweightDispatcher.retargetMouseEvent(Compiled Code)
at java.awt.LightweightDispatcher.processMouseEvent(Compiled Code)
at java.awt.LightweightDispatcher.dispatchEvent(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Window.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventQueue.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.pumpOneEvent(Compiled Code)
at java.awt.EventDispatchThread.pumpEvents(Compiled Code)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)