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.
[20010511-1625] C:\java\jdk1.3\jre\bin\java -Dpointbase.ini=d:\Builds\forte30_users\pointbasedb\pointbase.ini -cp [snip] org.netbeans.modules.web.tomcat.WebAppMain "d:\Builds\forte30_users\system\tomcat\server.xml" "d:\Builds\forte30_users\system\tomcat" Starting tomcat. Check logs/tomcat.log for error messages No webapps/ directory D:\Builds\forte30_users\system\tomcat\webapps Error generating automatic apache configuration java.io.FileNotFoundException: D:\Builds\forte30_users\system\tomcat/conf/tomcat-apache.conf (The system cannot find the path specified) java.io.FileNotFoundException: D:\Builds\forte30_users\system\tomcat/conf/tomcat-apache.conf (The system cannot find the path specified) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:102) at java.io.FileOutputStream.<init>(FileOutputStream.java:62) at java.io.FileWriter.<init>(FileWriter.java:38) at org.apache.tomcat.task.ApacheConfig.execute(ApacheConfig.java:97) at org.apache.tomcat.startup.Tomcat.generateServerConfig(Tomcat.java:217) at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:200) at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235) at org.netbeans.modules.web.tomcat.WebAppMain.main(WebAppMain.java:37) Error generating automatic IIS configuration java.io.FileNotFoundException: D:\Builds\forte30_users\system\tomcat/conf/iis_redirect.reg-auto (The system cannot find the path specified) java.io.FileNotFoundException: D:\Builds\forte30_users\system\tomcat/conf/iis_redirect.reg-auto (The system cannot find the path specified) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:102) at java.io.FileOutputStream.<init>(FileOutputStream.java:62) at java.io.FileWriter.<init>(FileWriter.java:38) at org.apache.tomcat.task.IISConfig.execute(IISConfig.java:89) at org.apache.tomcat.startup.Tomcat.generateServerConfig(Tomcat.java:223) at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:200) at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235) at org.netbeans.modules.web.tomcat.WebAppMain.main(WebAppMain.java:37) Error generating automatic Netscape configuration java.io.FileNotFoundException: D:\Builds\forte30_users\system\tomcat/conf/obj.conf-auto (The system cannot find the path specified) java.io.FileNotFoundException: D:\Builds\forte30_users\system\tomcat/conf/obj.conf-auto (The system cannot find the path specified) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:102) at java.io.FileOutputStream.<init>(FileOutputStream.java:62) at java.io.FileWriter.<init>(FileWriter.java:38) at org.apache.tomcat.task.NSConfig.execute(NSConfig.java:88) at org.apache.tomcat.startup.Tomcat.generateServerConfig(Tomcat.java:229) at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:200) at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235) at org.netbeans.modules.web.tomcat.WebAppMain.main(WebAppMain.java:37)
In my case this exceptions are thrown only during first servlet execution.
Look at the package org.netbeans.modules.web.tomcat.TomcatServerExecution : DeployDefaultDD() method. At the first start the system/tomcat/conf directory is not created properly in time. (may be suitable using layer.xml)
Made change in TomcatServerExecution file
Code reviewing : Ana Von Klopp, Radim Kubacki
verified in 010515
I'm getting the same set of exceptions thrown. On Linux 7.1, JDK 1.3.1, FFJ3.0EA. What are these configuration files user for?
Resolved for 3.4.x or earlier, no new info since then -> closing.