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 216042 - java.io.FileNotFoundException: C:\Development\apache-tomcat-7.0.27\logs\localhost.2012-07-27.log (The system cannot find the file specified)
Summary: java.io.FileNotFoundException: C:\Development\apache-tomcat-7.0.27\logs\local...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-27 07:19 UTC by Mitty
Modified: 2012-10-24 01:30 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 191075


Attachments
stacktrace (389 bytes, text/plain)
2012-07-27 07:19 UTC, Mitty
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mitty 2012-07-27 07:19:08 UTC
This bug was originally marked as duplicate of bug 126679, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.2 (Build 201207171143)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.5-b03, Java(TM) SE Runtime Environment, 1.6.0_30-b12
OS: Windows 7

User Comments:
GUEST: I wanted to view the Tomcat server log.

Mitty: I deleted all Tomcat logfiles and removed the default Tomcat webapps.
After starting Apache Tomcat 7.0.27 with the Netbeans run command I got this error.

GUEST: Attempting to view serverlog

GUEST: Viewing tomcat log files




Stacktrace: 
java.io.FileNotFoundException: C:\Development\apache-tomcat-7.0.27\logs\localhost.2012-07-27.log (The system cannot find the file specified)
   at java.io.FileInputStream.open(FileInputStream.java:0)
   at java.io.FileInputStream.<init>(FileInputStream.java:120)
   at java.io.FileReader.<init>(FileReader.java:55)
   at org.netbeans.modules.tomcat5.util.LogViewer.run(LogViewer.java:287)
Comment 1 Mitty 2012-07-27 07:19:12 UTC
Created attachment 122439 [details]
stacktrace
Comment 2 Petr Hejl 2012-10-23 12:15:58 UTC
Should be fixed in web-main 1b961178c827. Please verify.
Comment 3 Quality Engineering 2012-10-24 01:30:19 UTC
Integrated into 'main-golden', will be available in build *201210240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/1b961178c827
User: Petr Hejl <phejl@netbeans.org>
Log: #216042 - java.io.FileNotFoundException: C:\Development\apache-tomcat-7.0.27\logs\localhost.2012-07-27.log (The system cannot find the file specified)