Change remote glassfish server port in Netbeans 7.3 -


how can change default port 8080 when creating new remote server instance in netbeans 7.3?

the common way change local glassfish instances edit domain.xml file. doesn't work remote instances. changed local glassfish domain.xml file use port 8080. affects local glassfish server instances in netbeans not remote ones.

any appreciative.

if glassfish , oracle database installed in same system, results in port conflict both of them use port 8080. here procedure change port number of glassfish can run glassfish @ different port number oracle avoid port conflict.

  1. find out folder glassfish installed*. if installed glassfish along netbeans, can find out folder glassfish installed using following procedure.

    • select services window using window -> services in netbeans ide

    • expand servers node , select glassfish domain

    • right click , select properties option popup menu

    • on right of domains folder can see folder glassfish installed. example : c:\netbeans6.8\glassfish-v3\glassfish\domains can see other details regarding glassfish such port number, in same window.

2.go folder glassfish in installed.

3.go config folder follows (yours might different): c:\netbeans6.8\glassfish-3\glassfish\domains\domain1\config

4.open domain.xml using text editor.

5.look 8080 , change other port number doesn’t conflict other port numbers. change 9999.

6.save domain.xml. 7.now need remove glassfish netbeans , add again netbeans ide understands new port number. following:

  • in servers window of netbeans, remove glassfish using removeserver button after selecting glassfish server
  • click on addserver , select glassfish v2 or glassfish v3 , click on next
  • select installation location of glassfish , click on next
  • accept defaults , click on finish

8.restart glassfish, if running.

i got source blog post can find here.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -