Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Netbeans error with glassfish server 3.1?

I'm trying to launch a project in netbeans but I keep getting the error

"Could not connect to admin listener for GlassFish server 3.1 Verify that NetBeans can make outbound connections to localhost:4848"

I've been tackling glassfish server problems since morning. Has anyone encountered this problem before?

like image 689
Zeeno Avatar asked Sep 16 '11 20:09

Zeeno


People also ask

How do I resolve GlassFish error in NetBeans?

you can easily resolve this problem by changing the port number of glassfish. Go to glassfich configuration File domain. xml which is located under GlassFish_Server\glassfish\domains\domain1\config . replace 8080 by 9090 for example, then save file and run glassfish again.

How do I update GlassFish server in NetBeans?

To update GlassFish you will need to: Download GlassFish separately. Unzip it to a location of your choice. Add it to netbeans manually by right-clicking "servers" and choosing "Add Server"

Does not exist GlassFish server NetBeans?

It might be because you have downloaded the Netbeans without the Glassfish server. You can get the Netbeans with the Glassfish server from this link.


1 Answers

I encounted the same problem. It was because the server takes over the proxy settings of the IDE by default. You can deselect it by going to GlassFish Server 3.x properties and then click on the java tab ==> deselect Use IDE's proxy settings.

Afther that i could deploy my application.

like image 198
Jimmy Geers Avatar answered Sep 18 '22 05:09

Jimmy Geers