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 49161 - Second time Run Project task uses DNS name for browsing
Summary: Second time Run Project task uses DNS name for browsing
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: Sun SunOS
: P3 blocker (vote)
Assignee: _ ludo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-16 15:52 UTC by Petr Blaha
Modified: 2006-06-03 17:43 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Blaha 2004-09-16 15:52:15 UTC
Build 0400915
plugin build com.sun.tools.appserver/1 [2.1 1.0
20040914-1708]

Steps:
Setup: emtpy user dir
1) File | New Project | Web - Web Application
2) invoke Run Project form pop-up menu
3) browser loading URL:
http://localhost:8080/WebApplication1
See output:
init:
deps-jar:
Created dir:
/space/progr/testing/WebApplication1/build/web/WEB-INF/classes
Copying 3 files to
/space/progr/testing/WebApplication1/build/web
compile:
compile-jsps:
do-compile-single-jsp:
run-deploy:
In-place deployment at
/space/progr/testing/WebApplication1/build/web
   initialDeploy  
/space/progr/testing/WebApplication1/build/web
Deploy action running...
Completed
XXXXXXXXXXXXXXXXX Start.
Change state in server - completed successfully
State change in all targets - completed successfully
All operations completed successfully
run-display-browser:
Browsing: http://localhost:8080/WebApplication1
run:
BUILD SUCCESSFUL (total time: 7 seconds)
4) Run Project second time, browser loading use
DNS name of my computer:
init:
deps-jar:
compile:
compile-jsps:
do-compile-single-jsp:
run-deploy:
Incrementally deploying
WebApplication1_localhost:4848_server
Completed incremental distribution of WebApplication1
run-display-browser:
Browsing: http://pblaha-sun:8080/WebApplication1
run:
BUILD SUCCESSFUL (total time: 1 second)
5) after Clean and Build Project, first Run
Project using localhost and second DNS name
In case you deploy app to bundled Tomcat,
localhost name is used each time.
Comment 1 _ ludo 2004-09-16 15:59:06 UTC
This is returned like that by the app server deploy backend...
It would be a bug it the URL did not work.
I guess it works.
Comment 2 Petr Blaha 2004-09-16 16:28:21 UTC
I think this is issue for users which use browser configured with
proxy.   Proxy doesn't resolve your DNS name. User should manually set
value No Proxy for localhost, 127.0.0.1, <your_PC_DNS_NAME> in
browser. Maybe candidate for RELNOTE.
Comment 3 Petr Blaha 2004-10-13 10:40:19 UTC
Remove all issues from temporary component.
Comment 4 _ ludo 2005-02-08 19:27:43 UTC
this bug is fixed in Sun App Server 8.1 Update 1 release.

This update release is the one that will be bundled with NetBeans 4.1
at FCS time.

8.1 Update 1 is still not publically available.
Comment 5 Petr Blaha 2005-03-21 12:59:56 UTC
[Build 20050320]