The error I was getting was that it couldn't find a file/directory under "/var/folders/ZC/ZCcmX61vGaqOjbHwwgwW-k+++TI/-Tmp-/". The filename changes every time, in the format "context1234567890123456789.xml". The "+++" throws it off because the path is passed as a URL parameter to the Tomcat Manager, which converts the +'s to spaces.
The solution is to go to your NetBeans application folder, right-click the application, and choose Show Package Contents. Under Contents/Resources/NetBeans/etc, open netbeans.conf, and find the line for "netbeans_default_options". Go to the end of this line, and add, inside the end quote, "-J-Djava.io.tmpdir=/tmp". Restart NetBeans, and you should be good to go.
No comments:
Post a Comment