Never mind I think I found it.. it created an xml file in the Catalina directory. I saw in there the dev info and commented it out. Whew!! dodged a bullet there...
Thanks On Mon, May 4, 2009 at 10:46 PM, Greg Morphis <[email protected]> wrote: > We have an app running on a Apache Tomcat server. I was asked to added > some updates to it, everything went well in developing it. > I created a .war locally using jar -cfv *.* myapp.war > > I placed the file locally in my tomcat directory and started up > tomcat, it worked fine. > It expanded the files and I was able to log into it using a dev login > and saw dev data. > I moved this WAR to our prod server and forgot to change the dev data > to prod (in the meta-inf/context.xml) > Now it looks like it's loading up into development, production login > doesnt work, only dev and it looks like it's dev data. > > I deleted the .war, I deleted the directory it created (I had renamed > it to ROOT.war because that's what it is on the prod server... > D:\Tomcat5.5\webapps\ROOT\ > I moved the copied directory back into the tomcat/webapps folder and > restarted tomcat. So everything should have been back the way it was. > It's still only allowing the dev logins. > Any ideas, I desperately need help. I checked the context.xml file in > root/META-INF/context.xml and only the production info is uncommented. > Strange thing is I renamed the file to context.xml_ (notice the > underspace). Restarted the server and it's still only allowing dev > logins and dev data. > It's almost as if it's not even using that context.xml file for it. > Where else is this stored at? I'm begging! Please help! >

