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 184791 - location of remote server always point to port 8080
Summary: location of remote server always point to port 8080
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-23 02:58 UTC by vladperl
Modified: 2010-04-30 03:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE LOG (8.35 KB, application/octet-stream)
2010-04-30 03:34 UTC, vladperl
Details
remote server log (21.11 KB, application/octet-stream)
2010-04-30 03:35 UTC, vladperl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vladperl 2010-04-23 02:58:58 UTC
I registered remote server with port 7070 but the server doesn't work from IDE and in properties of the server shown port 8080.

Product Version = NetBeans IDE 6.9 Beta (Build 201004200117)
Operating System = Windows Vista version 6.0 running on x86
Java; VM; Vendor = 1.6.0_16
Runtime = Java HotSpot(TM) Client VM 14.2-b01
Comment 1 Marek Fukala 2010-04-23 10:58:31 UTC
Can you provide some more information? At least what server?
Comment 2 vladperl 2010-04-23 13:59:23 UTC
(In reply to comment #1)
> Can you provide some more information? At least what server?

Server is Glassfish v3.

What else do you need to know?
Comment 3 Vince Kraemer 2010-04-28 15:35:44 UTC
I will look into this one.
Comment 4 Vince Kraemer 2010-04-28 17:48:47 UTC
Here is the test that I did...

built a recent pull of NB 6.9
installed a recent promoted build of GlassFish 3.0.1

created a custom domain using asadmin on portbase 7000 (this means the admin port is at 7048 and the servlet container port is at 7080).
started the custom domain.

started the IDE build
registered the custom domain as a remote domain on 127.0.0.1:7048
created a new web app project that targets that server.
ran the project.

the browser opened on 127.0.0.1:7080 and the index.jsp content was displayed correctly.

I am closing this as WFM.  Please describe in more detail the steps that you took that led you to conclude that "the server doesn't work from IDE"...

You may want to verify that the remote server is actually running when you register it.  The IDE cannot start a remote server...
Comment 5 vladperl 2010-04-29 03:43:26 UTC
> I am closing this as WFM.  Please describe in more detail the steps that you
> took that led you to conclude that "the server doesn't work from IDE"...
> 
> You may want to verify that the remote server is actually running when you
> register it.  The IDE cannot start a remote server...

Remote server is working constantly.
After reading your comments I execute the following steps:

1) remove remote server registration.
2) registered remote server with name "sp-domain" and admin port: 4747 and I was able to open such parts as Applications and Resources.
3) assigned again already existing application to sp-domain
4) started deploy of application and got error saying that deploy failed.
5) went to servers tab and check properties of the server. Properties showed that to port number 8080. The server's parts such as Applications and Resources I wasn't able to open.
6) remove the server again
7) registered remote server with name "sp-domain" and admin port: 4747
8) assigned again already existing application to sp-domain
9) started deploy of application and suddenly deploy wend fine.
10) check the server on port number and opening the parts, everything was fine.

My conclusion is that somehow deployment of application damage the server settings in some condition. I know it's sound weird but I don't have any other explanation.
I probably will have a hard time to reproduce the issue.
So let's hope everything is perfect now :)
Comment 6 Vince Kraemer 2010-04-29 04:50:00 UTC
The ant output, ide log file and log file of the remote server would be very useful for diagnosis.
Comment 7 vladperl 2010-04-30 03:34:22 UTC
Created attachment 98310 [details]
IDE LOG
Comment 8 vladperl 2010-04-30 03:35:16 UTC
Created attachment 98311 [details]
remote server log
Comment 9 vladperl 2010-04-30 03:36:45 UTC
(In reply to comment #6)
> The ant output, ide log file and log file of the remote server would be very
> useful for diagnosis.

I attached ide log file and remote server log file. Regarding ant output I don't know where to find it.