v2.0.0.1 - what happened to web.xml?
Hi,
I just upgraded a server from v2.0 to v2.0.0.1 and went to the backup directory to restore my modified version of \jazz\server\tomcat\webapps\jazz\WEB-INF\web.xml but it appears that the webapps\jazz directory is gone. Where is the version of web.xml that I need to edit to add my security-role and auth-constraint definitions? -Bryan |
5 answers
Hi, I suspect this may have something to do with IIM installing a new version of Tomcat but am unable to determine from the log files. |
The jazz directory only comes into existance when you deploy the application for the first time - ie when you start the server
When you install you will see a jazz.war (or jar) can't remember file which gets expended to the jazz subdirectory the web.xml file is inside that .war/.jar file \jazz\server\tomcat\webapps\jazz\WEB-INF\web.xml |
The jazz directory only comes into existance when you deploy the application for the first time - ie when you start the server Hi Alan, That was my recollection as well but the documentation says to make the changes before starting the server. It also says the format of the web.xml file has changed substantially so don't copy the old one but rather edit the new one. I think there are at least two contradictions in there somewhere... I will restore my teamproperties and tomcat-users.xml files and give it a go. -Bryan |
The jazz directory only comes into existance when you deploy the application for the first time - ie when you start the server Hi Alan, That was my recollection as well but the documentation says to make the changes before starting the server. It also says the format of the web.xml file has changed substantially so don't copy the old one but rather edit the new one. I think there are at least two contradictions in there somewhere... I will restore my teamproperties and tomcat-users.xml files and give it a go. -Bryan Tomcat starts but now I receive this message: HTTP Status 404 - Servlet equinoxbridgeservlet is not available |
Maybe this is documented somewhere but I didn't see it in the upgrade docs. Here is the scoop. You cannot have the path
\jazz\server\tomcat\webapps\jazz\WEB-INF in existence at all. You must delete it. Ensure you have followed all the steps in the upgrade doc plus the ones they miss but that you know to do: run repotools, added the temp table to the database (if running DB2), copy over your tomcat-users.xml and then start the server. It will run quite a while. Once it creates jazz\WEB-INF then shut down the server, edit the web.xml file to add your group to LDAP mappings. Start the sever. All should be well. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.