• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Phantom error in Tomcat!

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Reinaldo de Oliveira Castro
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Saloon Keeper
Posts: 27763
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
reply
    Bookmark Topic Watch Topic
  • New Topic