Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat 4.1 on Windows XP

 
Andrew Babaian
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used to run Tomcat 4.1 on Win98 without any problems. I've since upgraded to Windows XP, now after starting tomcat, the DOS server window pops up, then flickers out, and then server no longer runs.
I can't get anything up and running now, has anyone experienced similar issues? Do I need to make any changes to server.xml in the conf folder?
Thanks
Andrew
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13056
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is probably hitting some sort of exception - due to the way startup.bat is set up you don't get a chance to see what happened before the window vanishes.
Here is what I do.
In catalina.bat - REM out the first statement so it will echo everything to the screen
In startup.bat - the next to final line that
now says
call "%EXECUTABLE%" start ....
replace start with run - now when you execute startup.bat in a command window, you will see everything and the window will stay open.
Bill
 
Ken Shamrock
Ranch Hand
Posts: 139
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Were you make it as a service?
If so, it've already startup after initialized windows
 
Roberto Baggio
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I met same problem before, but I can't solve it now. Pls help me together.
 
Eric Christensen
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had the same problem. I uninstalled Tomcat and when I re-installed, I made sure to NOT check the box that has to do with services on NT and XP. After that, everything ran fine.
 
Andrew Babaian
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks to everyone who responded. I'm a little embarassed to tell you why it wasn't working, but my simple error could shed some light on others problems.
I renamed a folder in my apps folder. I then coorespondingly changed the Root Context (path name) for that folder in server.xml. I decided I didn't like the name of the folder, so I changed it back, but forgot to also change the the path name.
Well I guess tomcat looks up all your path names to see if their legit and then starts the server. Once I corrected the path name, the server started without any problems.
Thanks again for everyone's help.
Andrew
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic