English 中文(简体)
数据来源 服务器没有在网上运行
原标题:Datasource to SQL Server does not work in websphere

我们在项目中使用一个网域应用服务器,希望与一个板球服务器连接。 在我们的网上,我们配置了一个数据来源,并测试了网上链接。 在我们的部署应用中,这一联系并不可行。 我们获得这一例外:

Caused by: com.ibm.websphere.ce.cm.StaleConnectionException: Single-Sign-On is only supported on Windows. Please specify a user name.DSRA0010E: SQL State = 08001, Error Code = 0
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:56)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:515)
    at com.ibm.websphere.rsadapter.GenericDataStoreHelper.mapExceptionHelper(GenericDataStoreHelper.java:608)
    at com.ibm.websphere.rsadapter.GenericDataStoreHelper.mapException(GenericDataStoreHelper.java:670)
    at com.ibm.ws.rsadapter.AdapterUtil.mapException(AdapterUtil.java:2111)
    at com.ibm.ws.rsadapter.spi.WSRdbDataSource.getPooledConnection(WSRdbDataSource.java:2320)
    at com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl.createManagedConnection(WSManagedConnectionFactoryImpl.java:1600)
    at com.ibm.ejs.j2c.FreePool.createManagedConnectionWithMCWrapper(FreePool.java:2036)
    at com.ibm.ejs.j2c.FreePool.createOrWaitForConnection(FreePool.java:1713)
    at com.ibm.ejs.j2c.PoolManager.reserve(PoolManager.java:2496)
    at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:1063)
    at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:700)
    at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:668)
    at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:635)
    at de.volkswagen.dps.server.core.database.ConnectionFactory.createDatasourceConnection(ConnectionFactory.java:45)
    ... 40 more

我们使用这一动力:jtds-1.2.4.jar,我们从here

Have anybody an idea how to solve the problem?

问题回答

类似安全问题。

With Test Connection a SSO (Single sign on) can be used, but not in the deployed app.

你们需要确保你设置一个JAS认证专栏,并召集你。 使用该数据的数据来源,除其他外,含有用于认证的用户名称和密码。

开放行政局的数据来源,在创建联合航空局附属公司的权利方面存在着联系,而“Here”是用来说明数据来源的 com子。





相关问题
Export tables from SQL Server to be imported to Oracle 10g

I m trying to export some tables from SQL Server 2005 and then create those tables and populate them in Oracle. I have about 10 tables, varying from 4 columns up to 25. I m not using any constraints/...

SQL server: Can NT accounts be mapped to SQL server accounts

In our database we have an SQL server account that has the correct roles to access some of the databases. We are now switching to windows authentication and I was wondering if we can create a NT user ...

SQL Server 2000, ADO 2.8, VB6

How to determine if a Transaction is active i.e. before issuing Begin Transaction I want to ensure that no previous transaction are open.. the platform is VB6, MS-SQL Server 2000 and ADO 2.8

热门标签