This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Build: NetBeans IDE Dev (Build 200805221203) VM: Java HotSpot(TM) Client VM, 11.0-b11, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b14 OS: Linux, 2.6.22-14-generic, i386 User Comments: I have started a tomcat server (6.0.13) after I added it in the services view.
Created attachment 61961 [details] stacktrace
Permission denied - it is either user error that he added tomcat without appropriate access enabled or tomcat plugin should handle such cases.
Can you provide more precise steps? Where was the directory with tomcat located? CATALINA_BASE, CATALINA_HOME, permissions...
I found the reason why I got this issue - it happened while I was testing some other issue related to permissions... You can reproduce this IOE with following steps: 0. Use (Ubuntu) Linux :o) -> this step is easy one... 1. Download latest dev version of NB ("Web & Java EE" version) 2. Start NB installer from the command line using "sudo sh netbeans-trunk-XXX.sh" -> yes, this will install everything with a root ownership 3. During the installation, choose to install Apache Tomcat (catalina_base/home should not matter)... 4. When wizard finishes, start NB and remove all servers that are already present from the Services view 5. Add a new Tomcat server, the one you have installed in step 3 6. When a server node is present in the Services view, run the server... -> IOException is thrown (I know this is a really dumb scenario, but another issue about "starting NB with wrong/root permissions" had over 50 duplicates. I think some nice dialog saying some descriptive information like "Hey, stupid, check permissions" would be handy;o)...)
Build: NetBeans IDE 6.1 (Build 200804211638) VM: Java HotSpot(TM) Client VM, 11.0-b14, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b27 OS: Linux, 2.6.25-gentoo-r2, i386 User Comments: Stacktrace: java.io.IOException: Nie ma takiego pliku ani katalogu at java.io.UnixFileSystem.createFileExclusively(UnixFileSystem.java:0) at java.io.File.createNewFile(File.java:883) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createData(FolderObj.java:276) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createDataImpl(FolderObj.java:233) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$1.call(FolderObj.java:203) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$1.call(FolderObj.java:202)
Created attachment 66029 [details] stacktrace
Build: NetBeans IDE Dev (Build 200808141419) VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06 OS: Linux, 2.6.24-19-generic, i386 User Comments: Stacktrace: java.io.IOException: No such file or directory at java.io.UnixFileSystem.createFileExclusively(UnixFileSystem.java:0) at java.io.File.createNewFile(File.java:883) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createData(FolderObj.java:276) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createDataImpl(FolderObj.java:233) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$1.call(FolderObj.java:203) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$1.call(FolderObj.java:202)
Created attachment 67568 [details] stacktrace
Created attachment 67569 [details] stacktrace
Few comments: -exception reporter combined absolutely unrelated stack traces -tomcat is already suggesting changing permission (for executable), this exception come from inability to create log file
Build: NetBeans IDE Dev (Build 200809171401) VM: Java HotSpot(TM) 64-Bit Server VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06 OS: Linux, 2.6.26, amd64 User Comments: nbnathan: hibernating and resuming GUEST: Starting web application joshis: I have started a tomcat server (6.0.13) after I added it in the services view. digitalrinaldo: 100's of popup dialogs tried to cpy libs rom one project to another drag and drop, .svn files were not removed and I was not able to cancel the operation. Al operations on the file system are very slow in netbeanans when doing paste nbnathan: hibernating and resuming Stacktrace: java.io.IOException: Permission denied at java.io.UnixFileSystem.createFileExclusively(UnixFileSystem.java:0) at java.io.File.createNewFile(File.java:883) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createData(FolderObj.java:276) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createDataImpl(FolderObj.java:233) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$1.call(FolderObj.java:203) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$1.call(FolderObj.java:202)
Build: NetBeans IDE Dev (Build 200809171401) VM: Java HotSpot(TM) 64-Bit Server VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06 OS: Linux, 2.6.26, amd64 User Comments: starting Tomcat 6.0.18 with HTTP monitor enabled Stacktrace: java.io.IOException: Permission denied at java.io.UnixFileSystem.createFileExclusively(UnixFileSystem.java:0) at java.io.File.createNewFile(File.java:883) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createData(FolderObj.java:276) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createDataImpl(FolderObj.java:233) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$1.call(FolderObj.java:203) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$1.call(FolderObj.java:202)
Created attachment 70230 [details] stacktrace
Fixed in web-main bd81f5f802d3.
Integrated into 'main-golden', will be available in build *200909251401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/bd81f5f802d3 User: phejl@netbeans.org Log: #135854 java.io.IOException: Permission denied