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 72151 - Not possible to change tomcat port listen port.
Summary: Not possible to change tomcat port listen port.
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-02 09:41 UTC by shuttle69
Modified: 2006-07-10 13:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Nullpointer exception when restarting ide after changeing tomcat listen port. (55.11 KB, text/plain)
2006-02-02 09:46 UTC, shuttle69
Details
server xml when having null ptr... (18.44 KB, text/plain)
2006-02-02 09:47 UTC, shuttle69
Details

Note You need to log in before you can comment on or make changes to this bug.
Description shuttle69 2006-02-02 09:41:49 UTC
If you try to change the port number tomcat listens to within either the 
properties dialog or directly tomcat ide will not get the startup status back 
from tomcat. After startup you will not be able to show properties and when 
restarting everything both tomcat and the netbeans you will get a null ptr 
exception.

This was also a problem in rc2.

The only way I managed to get control over tomcat again (from netbeans) was 
reinstalling the ide.
Comment 1 shuttle69 2006-02-02 09:46:20 UTC
Created attachment 28706 [details]
Nullpointer exception when restarting ide after changeing tomcat listen port.
Comment 2 shuttle69 2006-02-02 09:47:15 UTC
Created attachment 28707 [details]
server xml when having null ptr...
Comment 3 Jaroslav Pospisil 2006-02-06 09:57:32 UTC
Could you please write more specific steps to reproduce? I'm not able to
reproduce it any possible way in NB5.0 FCS on Bundled Tomcat.
Comment 4 Sherold Dev 2006-03-06 15:04:35 UTC
The problem does not seem to be in the tomcat module, but rather in the
j2seplatform. Reassigning for evaluation.
Comment 5 Tomas Zezula 2006-03-13 10:03:55 UTC
The report contains two probably independent bugs, the tomcat part and the NPE
from J2SEPlatformInstall. The NPE is already fixed in the NB 5.5 and trunk. The 
problem with changing port number is in the tomcatint module.
Comment 6 Sherold Dev 2006-03-28 16:35:43 UTC
I cannot reproduce the Tomcat port problem, it seems that it was caused by the 
J2SEPlatformInstall bug. Closing as WORKSFORME.
Comment 7 shuttle69 2006-06-27 09:08:16 UTC
Still there in latest version of today.
Comment 8 Sherold Dev 2006-06-27 09:24:44 UTC
I still cannot reproduce it. Can you please describe the problem again? The
exception you are talking about should be fixed and thus the description seems
to be obsolete. Did you try to clean your NetBeans user directory?
Comment 9 Sherold Dev 2006-07-10 13:35:47 UTC
Closing as WORKSFORME

If you think the problem still exists file a new issue with proper description,
the current one is obsolete as mentioned above. The issue is not well readable
anymore.