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 97675 - Log file 'amnaming' grows infinitely too fast if use spaces in 'host' and 'root' fields
Summary: Log file 'amnaming' grows infinitely too fast if use spaces in 'host' and 'ro...
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Identity (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Peter Liu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-12 17:39 UTC by Andrey Yamkovoy
Modified: 2007-06-07 09:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
log file grows with following exception (731 bytes, text/plain)
2007-03-12 17:40 UTC, Andrey Yamkovoy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Yamkovoy 2007-03-12 17:39:13 UTC
Steps to reproduce:
1. Switch to 'Runtime' TAB.
2. Invoke dialog for adding new AM Instance.
3. Change the 'host' field to some value value with 2 spaces (for example "a a a").
4. Push 'Finish' button.
5. Invoke 'Edit' action for any profile inside new AM instance.
6. Now you can notice that file <AS_ROOT>/domains/domain1/config/amnaming grows
too fast (~ 7.5 Mb/sec). Besides it it will grows until closing IDE.

As a result your HDD will be full because this log file.

To reproduce this issue in step 3 you can change 'host' field to value with 1
space (for ex. "a a") and change 'context root' field for value with 1 space ("b
b").
Comment 1 Andrey Yamkovoy 2007-03-12 17:40:45 UTC
Created attachment 39400 [details]
log file grows with following exception
Comment 2 Peter Liu 2007-04-21 05:13:32 UTC
Added extra validation to disallow names containing whitespaces.
Comment 3 Andrey Yamkovoy 2007-06-07 09:02:26 UTC
Fix verified.