2013-05-07 4 views
0

привет я пытаюсь подключиться к майкрософт службы анализа через olap4j, но я получил эту ошибку каждый раз, когда «org.olap4j.OlapException: Это соединение встречается исключение при выполнении запроса»olap4j подключения к анализу службы

Это полный Описание ошибки:

<code>22:30:45.331 [ERROR] [kimo] 22:30:45.326:XRP4:WARN:RPCManager:org.olap4j.OlapException: This connection encountered an exception while executing a query.undefined - response: {operationId: &quot;listCubes_fetch&quot;, 
clientContext: Obj, 
context: Obj, 
transactionNum: 0, 
httpResponseCode: 200, 
httpResponseText: &quot;//isc_RPCResponseStart--&gt;[{data:&quot;org.ola...&quot;[212], 
xmlHttpRequest: [object XMLHttpRequest], 
transport: &quot;xmlHttpRequest&quot;, 
status: -1, 
clientOnly: undef, 
httpHeaders: Obj, 
isStructured: true, 
callbackArgs: null, 
results: Obj, 
data: &quot;org.olap4j.OlapException: This connectio...&quot;[91], 
invalidateCache: false, 
isDSResponse: true, 
queueStatus: -1, 
startRow: 0, 
endRow: 0, 
totalRows: 0} 

com.smartgwt.client.core.JsObject$SGWT_WARN: 22:30:45.326:XRP4:WARN:RPCManager:org.olap4j.OlapException: This connection encountered an exception while executing a query.undefined - response: {operationId: &quot;listCubes_fetch&quot;, 
clientContext: Obj, 
context: Obj, 
transactionNum: 0, 
httpResponseCode: 200, 
httpResponseText: &quot;//isc_RPCResponseStart--&gt;[{data:&quot;org.ola...&quot;[212], 
xmlHttpRequest: [object XMLHttpRequest], 
transport: &quot;xmlHttpRequest&quot;, 
status: -1, 
clientOnly: undef, 
httpHeaders: Obj, 
isStructured: true, 
callbackArgs: null, 
results: Obj, 
data: &quot;org.olap4j.OlapException: This connectio...&quot;[91], 
invalidateCache: false, 
isDSResponse: true, 
queueStatus: -1, 
startRow: 0, 
endRow: 0, 
totalRows: 0} 
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) 
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) 
    at java.lang.reflect.Constructor.newInstance(Unknown Source) 
    at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:105) 
    at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) 
    at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172) 
    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:293) 
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547) 
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364) 
    at java.lang.Thread.run(Unknown Source) 



this is the connection function 

<code> 

    public static OlapConnection getConnectionAServices() throws Exception { 
      Class.forName("org.olap4j.driver.xmla.XmlaOlap4jDriver"); 
      // anonymous connection 
      Connection connectionXMLA = DriverManager.getConnection(
       "jdbc:xmla:Server=http://localhost/olap/msmdpump.dll;" + "Catalog=Analysis_Service;"); 

      OlapWrapper wrapper = (OlapWrapper) connectionXMLA; 
      OlapConnection olapConnection = wrapper.unwrap(OlapConnection.class); 
      return olapConnection; 

}

+0

привет? есть кто там? :) –

+0

Вы должны предоставить более подробную информацию. Трассировка стека. Журналы. Все, что у вас есть, поможет. Просто отправить сообщение об общей ошибке недостаточно для того, чтобы мы могли вам помочь. – Luc

+0

@Luc я добавил полное описание ошибки .. – Kromer

ответ

Смежные вопросы