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 79183 - Catalina.properties modified externally message
Summary: Catalina.properties modified externally message
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords:
Depends on: 75115
Blocks:
  Show dependency tree
 
Reported: 2006-06-27 10:49 UTC by Jaroslav Pospisil
Modified: 2006-09-05 10:15 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 Jaroslav Pospisil 2006-06-27 10:49:09 UTC
build 200606260200

Message 

"File
MasterFileObject@123e7b7[F:/Testing/Userdir/NB55dev/apache-tomcat-5.5.17_base/config/catalina_properties]
was modified externally.Reload it?"

appearing sometimes when deploying web module with web service on tomcat.
Possibly connected with issue 75115.
Comment 1 Sherold Dev 2006-06-28 10:18:04 UTC
do you have any reliable steps how to reproduce this issue? does it happen only
during the server startup or also when you are deploying to an already started
server?
Comment 2 Jaroslav Pospisil 2006-06-28 12:32:40 UTC
It happened couple of times on my computer,when I deployed web module with web
service on tomcat. I've deployed to stopped server(just started IDE with new
userdir,created web module,added web service and clicked deploy) 
Since I've seen similarity with issue 75115 and catalog.xml reloading,I've set
the dependence,after word with Lukas. And yes,it's random,same as the issue it
depends, but I hope it could have common source.
Comment 3 Jaroslav Pospisil 2006-07-20 09:21:57 UTC
I think I found reproducible scenario(I tried it 4 times in line):

1)Start new IDE (200607190830 Beta2) with clear userdir
2)Go to Runtime tab and start Bundled Tomcat
3)Message will appear 

Comment 4 Sherold Dev 2006-07-25 10:24:36 UTC
tm -> 5.5
Comment 5 Jaroslav Pospisil 2006-08-24 15:06:00 UTC
Found new problem:
If I click on No in the dialog about saving catalina.properties and after Tomcat
starts I close the IDE,I will get dialog asking about saving catalina.properties.
If I click on Discard All,NPE will appear after IDE closes and it will hang on
screen along with Tomcat shutting down dialog.

java.lang.NullPointerException
	at org.netbeans.modules.tomcat5.util.Utils.saveDoc(Utils.java:90)
	at
org.netbeans.modules.tomcat5.ide.StartTomcat.patchCatalinaProperties(StartTomcat.java:842)
	at org.netbeans.modules.tomcat5.ide.StartTomcat.access$500(StartTomcat.java:64)
	at
org.netbeans.modules.tomcat5.ide.StartTomcat$StartRunnable.run(StartTomcat.java:384)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
Comment 6 Sherold Dev 2006-08-25 11:52:25 UTC
F.

Checking in src/org/netbeans/modules/tomcat5/ide/StartTomcat.java;
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/ide/StartTomcat.java,v 
<--  StartTomcat.java
new revision: 1.72.6.4.2.6; previous revision: 1.72.6.4.2.5
done
Checking in src/org/netbeans/modules/tomcat5/util/Utils.java;
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/util/Utils.java,v  <-- 
Utils.java
new revision: 1.2.12.2.2.3; previous revision: 1.2.12.2.2.2
done
Comment 7 Jaroslav Pospisil 2006-09-05 10:15:44 UTC
VERIFIED