jQuery in Action, 3rd edition
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

InstanceAlreadyExists Exception

Lidia Cyc

Joined: Aug 05, 2003
Posts: 25
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?
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13035
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?
I agree. Here's the link: http://aspose.com/file-tools
subject: InstanceAlreadyExists Exception
It's not a secret anymore!