Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Change the Glassfish server port in Netbeans over Mac

Posted on 2010-11-13
2
Medium Priority
?
1,069 Views
Last Modified: 2013-12-14
I installed Netbeans version (IDE 6.9.1) with Glassfish (V3) server on Mac OS X version (10.6.4), then I installed (PostgreSQL). After that I had a problem as both products are using the same port (8080).


So I tried to change the port of Glassfish server from the Netbeans, but I found that the port is readonly. After searching over the Internet I found that I can update the file called (domain.xml) and I put the following values:


 <network-listener port="10080" protocol="http-listener-1" transport="tcp" name="http-listener-1" thread-pool="http-thread-pool" />

          <network-listener port="10443" protocol="http-listener-2" transport="tcp" name="http-listener-2" thread-pool="http-thread-pool" />

          <network-listener port="4848" protocol="admin-listener" transport="tcp" name="admin-listener" thread-pool="http-thread-pool" />
 

I can run the server now since it takes the new values, but when I run any JSP project in the netbeans It gives me an error message since the value is still 8080 in the netbeans.


0
Comment
Question by:alrobai00
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Author Comment

by:alrobai00
ID: 34133353
The solution:

I just realised that I can remove the server from Netbeans, then I download the server again from the Internet. Before I install it back, I updated the file domain.xml as follows:

 <network-listener port="10080" protocol="http-listener-1" transport="tcp" name="http-listener-1" thread-pool="http-thread-pool" />
 
Finally, I add the server to Netbeans and that's it.
0
 

Accepted Solution

by:
EE_AutoDeleter earned 0 total points
ID: 37141300
Because you have presented a solution to your own problem which may be helpful to future searches, this question is now PAQed and your points have been refunded.

EE_AutoDeleter
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deletiā€¦
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question