It's all about the answers!

Ask a question

Could not find jts.xml and ccm.xml files in /JTS/server/tomcat/conf/catalina/localhost path in linux


Ashwath G (6633951) | asked Feb 01 '13, 5:23 a.m.

Hello,

I am trying to change the Form based authentication to basic authentication in the JTS 4.0 on linux machine

where i have changed all the web.xml files .But in the fallowing path i Could not find jts.xml and ccm.xml files in /JTS/server/tomcat/conf/catalina/localhost .

Is these files are there in JTS 4.0 ...

Where i need to edit the fallowing value

<Context crossContext="true">

<Valve className="org.apache.catalina.authenticator.BasicAuthenticator"

securePagesWithPragma="false"

characterEncoding="UTF-8" />

</Context>

Accepted answer


permanent link
Bo Chulindra (1.3k2718) | answered Feb 01 '13, 3:36 p.m.
JAZZ DEVELOPER
edited Feb 01 '13, 3:51 p.m.
Tomcat 7 has changed in a way so that there is no longer a server/tomcat/conf/catalina/localhost/<appName>.xml file by default. Instead, you modify the file at server/tomcat/webapps/<appName>/META-INF/context.xml.

For more information, you can see the "Defining a context" section of http://tomcat.apache.org/tomcat-7.0-doc/config/context.html.

By the way, are you following instructions somewhere to change a CLM application to BASIC auth? If so, I'd like to see if it needs to be updated. If you are using https://jazz.net/library/article/75, then there is a comment I added at the bottom of the article mentioning the new file location for Tomcat 7.
Ashwath G selected this answer as the correct answer

Comments
Ashwath G commented Feb 05 '13, 6:59 a.m.

Hello Chulindra,

Thanks for your solution ...i have changed the web.xml of all apps and context .xml files .

Its working fine with basic authentication.

And i have a doubt is the feed settings are important when we do third paty tool integration with JTS .

Thank you.

One other answer



permanent link
Anthony Kesterton (7.5k9180136) | answered Feb 01 '13, 5:35 a.m.
JAZZ DEVELOPER
You may want to use the admin pages on the server rather than changing files by hand.  I found a lot of entries for Authentication on this page:

https://<server name>:9443/jts/admin#action=com.ibm.team.repository.admin.configureAdvanced

anthony

Your answer


Register or to post 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.