Two Laptop Bag*
The moose likes Other Java Products and Servers and the fly likes Exception while running Hibernet Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Exception while running Hibernet Application" Watch "Exception while running Hibernet Application" New topic
Author

Exception while running Hibernet Application

Jay Shukla
Ranch Hand

Joined: Jun 08, 2008
Posts: 214
Hi I'm getting following Exception trace while running Hibernate application.

Jay Shukla
Ranch Hand

Joined: Jun 08, 2008
Posts: 214
Can any one Help me how to resolve the above problem?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41630
    
  55
the server port 8084 is already in use.

That's the problem; it has nothing to do with Hibernate.

You're trying to start the server on a port which is already in use by some other process (most likely another instance of Tomcat). You need to shut down the other process first (or use a different port).


Ping & DNS - my free Android networking tools app
Jay Shukla
Ranch Hand

Joined: Jun 08, 2008
Posts: 214
Ulf thanks for your reply. I am using NetBeans IDE to develope the application. and i tried to shut close IDE which automatically shut down Tomacat server and open IDE and tried to run that perticular application but the same error.

I did this excersize before i logged this perticular issue to this forum.
Please Help me or suggest me if i'm doing something wrong.

Thanks Jay.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41630
    
  55
Well, something is running on that port. If it's got nothing to do with Tomcat/NetBeans -although I suspect that it does-, I'd suggest to find out what it is, and take appropriate steps.
Jay Shukla
Ranch Hand

Joined: Jun 08, 2008
Posts: 214
Ulf thanks for suggestion. But if something is running of that perticular than it should be stopped once the server shuts down. However can you tell me from where can i find solution of this. I have never faced such kind of problem even i don't know from where can i get the solution of this???
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41630
    
  55
Like I said, it may be something else. Have you tried connecting via HTTP to that port? You could also telnet into that port and see what kind of response you get.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Exception while running Hibernet Application