I forgot about *that* kind of escaping. 
I tried it just now (with the string as follows):
Code:
jdbc:jtdsqlserver://192.168.0.3/zs2?user=myusername&password=mypassword
The result remains the same:
"Single-Sign-On is only supported on Windows. Please specify a user name."
But escaping the ampersand seems irrelevant to me (at least at this stage): when I try to log on without specifying a password (in other words, without an ampersand), I get the same error message. As far as the official microsoft driver is concerned, there are no ampersands there and I can't get that one to even register a username, letalone a password.
To recapitulate:
* I've placed the mondrian.war in the $TOMCAT/webapps dir and unpacked it into $TOMCAT/webapps/mondrian
* I've placed the jtds and microsoft drivers in $TOMCAT/common/endorsed
* I've updated mondrian.properties as follows:
Code:
mondrian.result.limit=50000
mondrian.foodmart.jdbcURL=jdbc:jtds:«»sqlserver://192.168.0.3:1433/zs2?user=...&password=...
mondrian.jdbcDrivers=com.microsoft.jdbc.sqlserver.SQLServerDriver,net.sourceforge.jtds.jdbc.Driver
mondrian.trace.level=1
mondrian.debug.out.file=/tmp/mondrian.log
mondrian.rolap.aggregates.Use=true
mondrian.rolap.aggregates.Read=true
* I've updated the web.xml file in $TOMCAT/webapps/mondrian/WEB-INF as follows:
Code:
...
...
connectString
Provider=mondrian;Jdbc=jdbc:jtds:«»sqlserver://192.168.0.3:1433/zs2?user=...&password=...; Catalog=/WEB-INF/queries/FoodMart.xml;JdbcDrivers=net.sourceforge.jtds.jdbc.Driver;RoleXX='California manager';
...
...
MDXQueryServlet
mondrian.web.servlet.MDXQueryServlet
connectString
Provider=mondrian;Jdbc=jdbc:jtds:«»sqlserver://192.168.0.3:1433/zs2?user=...&password=...; Catalog=/WEB-INF/queries/FoodMart.xml;JdbcDrivers=net.sourceforge.jtds.jdbc.Driver;RoleXX='California manager';
...
* I start tomcat
* I use the "basic interface for ad hoc queries" link on the http://localhost:8080/mondrian/ page as a test tool: I select any query (I am aware that none of them work with an "empty" database, but I'm solving connectivity problems now so I guess it's as good a way to test as any)
* and last but not least, I analyze the various error messages I've provoked so far. 
I feel this is a valid test as I get an expected error (something about none existant tables or schemas or dimensions...) when I use an empty postgresql database instead of mssql.
At this point, I'm curious: has anyone been able to connect mondrian with MSSQL? How?
This connectivity problem seems to have delayed my plans for deployment of a first prototype olap app to (at least?) January 2006 and it's hard to get over the fact that it's over something so trivial as a connection string.