aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Phantom error in Tomcat! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Phantom error in Tomcat!" Watch "Phantom error in Tomcat!" New topic
Author

Phantom error in Tomcat!

Reinaldo de Oliveira Castro
Greenhorn

Joined: Jul 06, 2006
Posts: 3
Hi!

I have a big problem in Tomcat that I already spent two days and didn't find any solution.

This is the error:


It's really unusual because the error only happens in my computer! When I put the same .war in other computers (same and diferent versions of Tomcat), the application run without problems. Other web applications run without problem in my computer.

Nothing is wrote in Tomcat's log. The last message is that the server was initialized with success.

I'm executing the application in Netbeans 5.0, but I alredy installed another Tomcat separated from the Netbeans. The error continues.

I alredy clean and rebuild (Netbeans command) the application many, many times, I'm alredy undeploy and deploy the application many, many times. The error continues.

I alredy reinstalled different versions of JDK. The error continues.

I alredy reinstalled Netbeans. The error continues.

I carried the source code into another computer and recompiled it. It works very well...

Any suggestions will be appreciated.

Softwares in use:

- Jdk 1.5.0_07
- Netbeans 5.0
- Struts 1.2.7
- Hibernate 3.0.5

Thanks in advance.

Reinaldo.
Carl Trusiak
Sheriff

Joined: Jun 13, 2000
Posts: 3340
If you already have a Tomcat running and are trying to run the Tomcat inside Netbeans, more than likely it is failing to start because the port is already bound. You need to specify different port numbers for the Tomcat in Netbeans to use to prevent this from occurring or, shutdown the other running Tomcat before attempting this.

The 503 is probably coming from the other running Tomcat which doesn't have that webapp installed!


I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60996
    
  65

Moved to the IDEs forum since this is not a general servlets questions, but one on using Netbeans.
[ July 06, 2006: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Reinaldo de Oliveira Castro
Greenhorn

Joined: Jul 06, 2006
Posts: 3
Thanks, Carl, but the ports aren't the same (8080 in console and 8084 in ide). And I had try use just the console before (the ide was closed for sure), but still don't work.

Thanks by your atention again.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16012
    
  19

If you've reinstalled everything, the problem is the same on both Netbeans and standalone Tomcat and it's ONLY on your computer, I'd recommend running a memory test.

But you should have gotten a log message when the servlet context was mapped - or when the initialization failed and the mapping was cancelled.

Also, check to see if you have enough RAM. When memory gets tight, things tend to close down in mysterious ways.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Phantom error in Tomcat!