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.

Bug 12126 - Exceptions in tomcat output during executing
Summary: Exceptions in tomcat output during executing
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-05-11 18:35 UTC by L Martinek
Modified: 2003-07-02 08:28 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description L Martinek 2001-05-11 18:35:44 UTC
[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)
Comment 1 L Martinek 2001-05-11 18:43:55 UTC
In my case this exceptions are thrown only during first servlet execution.
Comment 2 Milan Kuchtiak 2001-05-11 19:03:05 UTC
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)
Comment 3 Milan Kuchtiak 2001-05-15 16:32:00 UTC
Made change in TomcatServerExecution file
Comment 4 Milan Kuchtiak 2001-05-15 16:40:25 UTC
Code reviewing : Ana Von Klopp, Radim Kubacki
Comment 5 L Martinek 2001-05-16 13:00:54 UTC
verified in 010515
Comment 6 npierpoint 2001-08-29 09:46:31 UTC
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?
Comment 7 Quality Engineering 2003-07-02 08:28:36 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.