aspose file tools*
The moose likes Web Services and the fly likes Me, NetBeans & GlassFish Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Me, NetBeans & GlassFish" Watch "Me, NetBeans & GlassFish" New topic
Author

Me, NetBeans & GlassFish

Debor George
Greenhorn

Joined: Feb 26, 2010
Posts: 3
I am having serious trouble with my NetBeans and the GlassFish server, initially as of two days ago i was able to run few examples of web applications i have on my netbeans, but i don't know how it works cos initially i was made to believe that the GlassFish server that came with my NetBeans is not working each time i try to lunch it.
I made it up to NetBeans site to download GlassfFish Server 3 and installed it, to my surprise all i could discover is that all the web app examples i try to run since then did not run and each time i try it the information that keep poping-up is that "GlassFish Server 3 Server cannot start. Port is occupied."
A particular directory on my system will now be showed in my editor, in-front of which i will also see The Module has not been deployed .
Please, i have try all i could through re-installing and even to the NetBeans and SunJava websites to get the problem solved, but no solution yet,help me out of this problem so that i can move on with other things.
Am counting on you all
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
Could it be that you already have an instance of GlassFish or some other server, like Tomcat, running on your machine?
I need to know which OS you are using to be able to give further advice on how to determine if this is the case.
This will cause the port to already be in use and thus preventing you from starting (another instance of) GlassFish.
Best wishes!


My free books and tutorials: http://www.slideshare.net/krizsan
Debor George
Greenhorn

Joined: Feb 26, 2010
Posts: 3
Am so grateful to you Ivan,my OS is window vista and true indeed i have Tomcat running but even when i turn it off and try to turn on the GlassFish, it still never turned on and yet came up with same problem/alert and just like i said the web apps examples i have on the NetBeans run properly untill yesterday when i installed the GlassFisdh i downloaded due to the fact that i thought it was only the Tomcat on the NetBeans was working. So, it was after the installation of that GlassFish i started having this problem each time i try even the web apps that run perfectly just before installation of the new GlassFish.
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
Have you checked if there is some kind of service installed that automatically starts up GlassFish at system startup?
Best wishes!
Debor George
Greenhorn

Joined: Feb 26, 2010
Posts: 3
Ivan,Like what kind of service are you thinking of , so that i can know where to start with, cos i have actually stopped the Tomcat that i noticed was on and yet the story is still the same.
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
I was thinking about some service similar to the one you've already found for Tomcat, but for GlassFish.
Best wishes!
 
Consider Paul's rocket mass heater.
 
subject: Me, NetBeans & GlassFish