wood burning stoves 2.0*
The moose likes Tomcat and the fly likes InstanceAlreadyExists Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "InstanceAlreadyExists Exception" Watch "InstanceAlreadyExists Exception" New topic
Author

InstanceAlreadyExists Exception

Lidia Cyc
Greenhorn

Joined: Aug 05, 2003
Posts: 25
hi,
a strange thing i can't find a sollution for.

i have a web app that runs in tomcat's root (placed in \webapps\ROOT).
don't ask me why, it's just there.
the controller servlet of the app has <load-on-startup>1..
it also prints in output "START INIT" when loaded.

when i start tomcat i see this:

and then once more the same thing:

tomcat not only prints the report twice, it loads the webapp twice, because right after the second time i get a nasty exception:


tomcat doesn't die, and the application runs ok. but still, i don't wanna leave it as it is,, knowing that something is wrong.
any ideas?
thanks
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
What is the entry for this controller servlet in web.xml? Could the same servlet be defined in two different places?
Is the "/servlet/..." style URL being used anywhere?
Bill
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: InstanceAlreadyExists Exception
 
Similar Threads
ServletException please help!!
cannot open localhost:8080
tomcat can't find index.jsp
Tomcat not behaving:(
opening a pdf file created by jasper in client side