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 56465 - Incorret port number when registering webservice
Summary: Incorret port number when registering webservice
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ ludo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-15 15:09 UTC by Lukas Jungmann
Modified: 2006-03-24 12:45 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 Lukas Jungmann 2005-03-15 15:09:44 UTC
[build 200503141900]

- start app server
- start IDE with new userdir
- register appserver
- create new web app
- create new web service
- run web app
- add web service to registry

=> Ooops, port number (in appeared 'enter wsdl url' dialog) is set to
4848, but should be 8080... So I had to change it and then it works as
 expected

possible workarounds:
1) restart app server if it was running
2) start app server after IDE
Comment 1 Roderico Cruz 2005-03-15 19:32:06 UTC
Ludo,
I am getting the default port from InstanceProperties:
InstanceProperties.getProperty(InstanceProperties.HTTP_PORT_NUMBER);

Were there any changes made recently in setting the HTTP_PORT_NUMBER property?
Comment 2 _ ludo 2005-03-15 19:56:04 UTC
no, it's because this setting is done only when the IDE starts the server...
In this scenario, the server is starte outside the ide
Comment 3 _ ludo 2005-03-18 22:03:14 UTC
I have the fix for this corner case where the server was already running before
starting the IDE. Now the value should be the correct one.
Comment 4 Lukas Jungmann 2005-03-21 13:13:01 UTC
v. 200503201900
Comment 5 Lukas Jungmann 2005-03-21 13:14:47 UTC
did not want to change SW and priority...