• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

InstanceAlreadyExists Exception

 
Lidia Cyc
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic