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 153518 - The 'Apache Tomcat 6.0.xx Log' windows cannot be reopened by 'View Server Output' if it is closed after 'Apache Tomcat 6.0.xx' windows
Summary: The 'Apache Tomcat 6.0.xx Log' windows cannot be reopened by 'View Server Out...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-20 10:13 UTC by claudiomassi
Modified: 2009-09-18 22:27 UTC (History)
0 users

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 claudiomassi 2008-11-20 10:13:48 UTC
In NB 6.1 or 6.5:
   - Go to 'Services' window ('Window | Services' menu)
   - Expand 'Servers'
   - Right-click on the node for 'Apache Tomcat 6.0.xx' server
   - Select 'Start': 
     both 'Apache Tomcat 6.0.xx Log' and 'Apache Tomcat 6.0.xx' windows are opened in Output window
     ('Apache Tomcat 6.0.xx Log' is ~/.netbeans/6.x/apache-tomcat-6.0.xx_base/logs/localhost.<date>.log and
      'Apache Tomcat 6.0.xx' is ~/.netbeans/6.x/apache-tomcat-6.0.xx_base/logs/catalina.<date>.log )
   - Close 'catalina' window and then 'localhost' window
   - Select 'View Server Output':
     both 'Apache Tomcat 6.0.xx Log' and 'Apache Tomcat 6.0.xx' windows has been reopened in Output window (ok)
   - Close 'localhost' window and then 'catalina' window
   - Select 'View Server Output':
     only 'Apache Tomcat 6.0.xx' has been reopened in Output window (bug)
   - Select 'Restart' from 'Apache Tomcat 6.0.xx' server:
     both 'Apache Tomcat 6.0.xx Log' and 'Apache Tomcat 6.0.xx' windows has been reopened in Output window (workaround)

NB: To see some info in 'Apache Tomcat 6.0.xx Log':
   - Stop the tomcat server and close the ide
   - Open <userdir>/apache-tomcat-6.0.xx_base/conf/logging.properties
   - Change
       org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = INFO
     to
       org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = FINE
   - Restart the ide and start the tomcat server.
Comment 1 Petr Hejl 2009-09-17 16:24:35 UTC
Fixed in web-main 6d3a080494d3.

There was an action missing on server node (View Server Log). BTW it works even for stopped server.
Comment 2 Quality Engineering 2009-09-18 22:27:03 UTC
Integrated into 'main-golden', will be available in build *200909181401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/6d3a080494d3
User: phejl@netbeans.org
Log: #153518 The 'Apache Tomcat 6.0.xx Log' windows cannot be reopened by 'View Server Output' if it is closed after 'Apache Tomcat 6.0.xx' windows