Change Port Number For GlassFish in Netbeans
|
If GlassFish and Oracle Database are installed in the same system, it results in port conflict as both of them use port 8080.
Here is the procedure to change port number of GlassFish so that you can run GlassFish at a different port number from Oracle to avoid the port conflict.
- Find out the folder where GlassFish is installed.
If you installed GlassFish along with NetBeans, you can find out the folder where GlassFish is installed by using the following procedure.
- Select Services window by using Window -> Services in NetBeans IDE
- Expand Servers node and select GlassFish Domain
- Right click and select Properties option from popup menu.
- On the right of Domains Folder you can see the folder where GlassFish is installed. For example : C:\netbeans6.8\glassfish-v3\glassfish\domains. You can also see the other details regarding Glassfish such as port number, in the same window.
- Go to the folder where Glassfish in installed.
- Go into config folder which is as follows: c:\netbeans6.8\glassfish-3\glassfish\domains\domain1\config
- Open domain.xml using any text editor.
- Look for 8080 and change it to some other port number that doesn’t conflict with other port numbers. I generally change it to 8989.
- Save domain.xml.
- Now you need to remove GlassFish from NetBeans and add it again so that NetBeans IDE understands the new port number. For this do the following :
- In Servers window of NetBeans, remove GlassFish by using RemoveServer button after selecting GlassFish server.
- Click on AddServer and select GlassFish V2 or GlassFish V3 and click on Next.
- Select the Installation Location of GlassFish and click on Next.
- Accept defaults and click on Finish.
- Restart GlassFish, if it was already running.
credit to: http://www.srikanthtechnologies.com
POSTED BY juong |
i Like math....
|
jom layan karikatur ni,,,,agak lawak bagi aku.....
ni mesti kes terlampau giler kat math ke camne ni....
may be kot...huhu
may be kot...huhu
creadit to: http://www.gdargaud.net/Humor/OddPrime.html
POSTED BY juong |
Popular Posts
-
Rumi Ke Jawi 1. Convert rumi ke jawi secara online. senang sekali! 2. Lepas covert, copy dan paste kat microsoft word, 3. dan pilih font ...
-
Tulisan jawi amat diperlukan terutama bagi guru-guru yang menggunakan tulisan jawi sebagai medium untuk membuat soalan peperiksaan dan kepad...
-
Mengetahui seseorang itu anak yang ke berapa dalam keluarga dengan menggunakan rumusan matematik. Sebagai contohnya: Dalam keluarga anda t...
-
Sebelum download Arabic Dotted / titik-titik, Aracbic font perlu di install terlebih dahulu. Install arabic font di sini Kalau dah install, ...
-
Rumi ke Jawi versi Aplikasi Telefon (Buat masa sekarang, hanya pengguna telefon pintar Android sahaja boleh menggunakanya ). Aplikasi ini...
-
1) Kaedah persenyawaan teknik bantuan Re-produktif (ART). Kaedah ART ialah kaedah yang dilakukan dengan memasukkan sperma/embrio ke dal...
-
Diagram: A plan, sketch, drawing, or outline designed to demonstrate or explain how something works or to clarify the relationship between t...
-
Salam, Nak cari Homestay @ penginapan berdekatan gua-gua di lenggong seperti Gua Puteri, Lenggong , anda boleh cari homestay M...
-
Hari ni aku nak kongsi penunjuk arah kiblat...teruja dapat tahu aplikasi online ni...aplikasi ni amat berguna kpd sesiapa yang amat memerluk...