After two days struggle getting IIS 7 set up to run msmdPump.dll, I get the following line of Java code working:
Class.forname("org.olap4j.driver.xmlaOlap4jDriver");
Connection connection = DriverManager.getConnection (
"jdbc:xmla:Server=http://genomic-app-02/olap/msmdpump.dll"
+";Catalog=AnalysisServiceSNP"
, null // no userid
, null // no password );
OlapConnection oConnection = connection.unwrap(OlapConnection.class);
OlapDatabaseMetaData metadata = oConnection.getMetaData();
However, I could not do much with the connection because I kept getting the error of java dot net dot SocketException: Connection Reset, for statements like:
Resultset catalog = oConnection.getCatalogs(); // failed with Connection Reset error
OlapStatement stmt = oConnection.createStatetment(); // failed with Connection Reset error
Any help with what possibly the error with Socketexception: connection reset is greatly appreciate.
Configuration:
IIS 7 (on Genomic-app-02 server)
Analysis Service on SQL Server 2005, with OLAP DB already created and have data, was able to query data using MDX; on Genomic SQL-01 server
(i.e. the IIS Server is on a different machine than the database, though they both are in the same domain)
<SessionTimeout> in the msmdpump.dll is set at 10 hours or 36,000 seconds (just for testing)
On the Analysis Service of the sQL Server, both maxIdleTimeout and minIdleTimeout are set to 0 (no time out, right?)
Thanks
My Coyne