jivejdon 專案TransactionManager問題
名位高手,我下載了jivejdon 的開源專案,但是在本地配置後,註冊或是登入總是報錯:
ERROR com.jdon.bussinessproxy.target.POJOObjectFactory - [JdonFramework]create error: java.lang.Error: Unresolved compilation problems:
The import javax.transaction.TransactionManager cannot be resolved
TransactionManager cannot be resolved to a type
transactionManager cannot be resolved
TransactionManager cannot be resolved to a type
TransactionManager cannot be resolved to a type
transactionManager cannot be resolved
TransactionManager cannot be resolved to a type
transactionManager cannot be resolved or is not a field
TransactionManager cannot be resolved to a type
2008-11-12 19:35:42,640 INFO [STDOUT] 2008-11-12 19:35:42,640 [http-127.0.0.1-8080-1] ERROR com.jdon.bussinessproxy.target.DefaultTargetServiceFactory - [JdonFramework]create error: java.lang.Exception: java.lang.Error: Unresolved compilation problems:
The import javax.transaction.TransactionManager cannot be resolved
TransactionManager cannot be resolved to a type
transactionManager cannot be resolved
TransactionManager cannot be resolved to a type
TransactionManager cannot be resolved to a type
transactionManager cannot be resolved
TransactionManager cannot be resolved to a type
transactionManager cannot be resolved or is not a field
TransactionManager cannot be resolved to a type
專案我用的是Jboss 4.2.3 + MS SQL 2005
mssql-xa-ds.xml內容如下:
<datasources>
<!--
transactional datasource, as configured in the global configuration
-->
<xa-datasource>
<jndi-name>JiveJdonDS</jndi-name>
<xa-datasource-class>net.sourceforge.jtds.jdbcx.JtdsDataSource</xa-datasource-class>
<!-- Note: "&" has to be used instead of "&" for parameters -->
<!--<xa-datasource-property name="URL">jdbc:jtds:sqlserver://localhost:1433;DatabaseName=jivejdon</xa-datasource-property>-->
<xa-datasource-property name="ServerName">localhost</xa-datasource-property>
<xa-datasource-property name="DatabaseName">jivejdon</xa-datasource-property>
<user-name>sa</user-name>
<password>XXX</password>
<transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
<no-tx-separate-pools/>
<!-- This disables transaction interleaving (which BTW, most DB vendors don't support) -->
<track-connection-by-tx/>
<isSameRM-override-value>false</isSameRM-override-value>
<!--pooling parameters-->
<min-pool-size>5</min-pool-size>
<max-pool-size>20</max-pool-size>
<blocking-timeout-millis>5000</blocking-timeout-millis>
<idle-timeout-minutes>15</idle-timeout-minutes>
<!-- If you supply the usr/pw from a JAAS login module -->
<security-domain/>
<exception-sorter-class-name>
org.jboss.resource.adapter.jdbc.vendor.MSSQLExceptionSorter
</exception-sorter-class-name>
<metadata>
<type-mapping>MS SQLSERVER2005</type-mapping>
</metadata>
</xa-datasource>
<xa-datasource>
<jndi-name>Security</jndi-name>
<xa-datasource-class>net.sourceforge.jtds.jdbcx.JtdsDataSource</xa-datasource-class>
<!-- Note: "&" has to be used instead of "&" for parameters -->
<!--<xa-datasource-property name="URL">jdbc:jtds:sqlserver://localhost:1433;DatabaseName=security</xa-datasource-property>-->
<xa-datasource-property name="ServerName">localhost</xa-datasource-property>
<xa-datasource-property name="DatabaseName">security</xa-datasource-property>
<user-name>sa</user-name>
<password>XXXX</password>
<transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
<no-tx-separate-pools/>
<!-- This disables transaction interleaving (which BTW, most DB vendors don't support) -->
<track-connection-by-tx/>
<isSameRM-override-value>false</isSameRM-override-value>
<!--pooling parameters-->
<min-pool-size>5</min-pool-size>
<max-pool-size>20</max-pool-size>
<blocking-timeout-millis>5000</blocking-timeout-millis>
<idle-timeout-minutes>15</idle-timeout-minutes>
<!-- If you supply the usr/pw from a JAAS login module -->
<security-domain/>
<exception-sorter-class-name>
org.jboss.resource.adapter.jdbc.vendor.MSSQLExceptionSorter
</exception-sorter-class-name>
<metadata>
<type-mapping>SQLSERVER2005</type-mapping>
</metadata>
</xa-datasource>
請名位高手幫忙解決.
ERROR com.jdon.bussinessproxy.target.POJOObjectFactory - [JdonFramework]create error: java.lang.Error: Unresolved compilation problems:
The import javax.transaction.TransactionManager cannot be resolved
TransactionManager cannot be resolved to a type
transactionManager cannot be resolved
TransactionManager cannot be resolved to a type
TransactionManager cannot be resolved to a type
transactionManager cannot be resolved
TransactionManager cannot be resolved to a type
transactionManager cannot be resolved or is not a field
TransactionManager cannot be resolved to a type
2008-11-12 19:35:42,640 INFO [STDOUT] 2008-11-12 19:35:42,640 [http-127.0.0.1-8080-1] ERROR com.jdon.bussinessproxy.target.DefaultTargetServiceFactory - [JdonFramework]create error: java.lang.Exception: java.lang.Error: Unresolved compilation problems:
The import javax.transaction.TransactionManager cannot be resolved
TransactionManager cannot be resolved to a type
transactionManager cannot be resolved
TransactionManager cannot be resolved to a type
TransactionManager cannot be resolved to a type
transactionManager cannot be resolved
TransactionManager cannot be resolved to a type
transactionManager cannot be resolved or is not a field
TransactionManager cannot be resolved to a type
專案我用的是Jboss 4.2.3 + MS SQL 2005
mssql-xa-ds.xml內容如下:
<datasources>
<!--
transactional datasource, as configured in the global configuration
-->
<xa-datasource>
<jndi-name>JiveJdonDS</jndi-name>
<xa-datasource-class>net.sourceforge.jtds.jdbcx.JtdsDataSource</xa-datasource-class>
<!-- Note: "&" has to be used instead of "&" for parameters -->
<!--<xa-datasource-property name="URL">jdbc:jtds:sqlserver://localhost:1433;DatabaseName=jivejdon</xa-datasource-property>-->
<xa-datasource-property name="ServerName">localhost</xa-datasource-property>
<xa-datasource-property name="DatabaseName">jivejdon</xa-datasource-property>
<user-name>sa</user-name>
<password>XXX</password>
<transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
<no-tx-separate-pools/>
<!-- This disables transaction interleaving (which BTW, most DB vendors don't support) -->
<track-connection-by-tx/>
<isSameRM-override-value>false</isSameRM-override-value>
<!--pooling parameters-->
<min-pool-size>5</min-pool-size>
<max-pool-size>20</max-pool-size>
<blocking-timeout-millis>5000</blocking-timeout-millis>
<idle-timeout-minutes>15</idle-timeout-minutes>
<!-- If you supply the usr/pw from a JAAS login module -->
<security-domain/>
<exception-sorter-class-name>
org.jboss.resource.adapter.jdbc.vendor.MSSQLExceptionSorter
</exception-sorter-class-name>
<metadata>
<type-mapping>MS SQLSERVER2005</type-mapping>
</metadata>
</xa-datasource>
<xa-datasource>
<jndi-name>Security</jndi-name>
<xa-datasource-class>net.sourceforge.jtds.jdbcx.JtdsDataSource</xa-datasource-class>
<!-- Note: "&" has to be used instead of "&" for parameters -->
<!--<xa-datasource-property name="URL">jdbc:jtds:sqlserver://localhost:1433;DatabaseName=security</xa-datasource-property>-->
<xa-datasource-property name="ServerName">localhost</xa-datasource-property>
<xa-datasource-property name="DatabaseName">security</xa-datasource-property>
<user-name>sa</user-name>
<password>XXXX</password>
<transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
<no-tx-separate-pools/>
<!-- This disables transaction interleaving (which BTW, most DB vendors don't support) -->
<track-connection-by-tx/>
<isSameRM-override-value>false</isSameRM-override-value>
<!--pooling parameters-->
<min-pool-size>5</min-pool-size>
<max-pool-size>20</max-pool-size>
<blocking-timeout-millis>5000</blocking-timeout-millis>
<idle-timeout-minutes>15</idle-timeout-minutes>
<!-- If you supply the usr/pw from a JAAS login module -->
<security-domain/>
<exception-sorter-class-name>
org.jboss.resource.adapter.jdbc.vendor.MSSQLExceptionSorter
</exception-sorter-class-name>
<metadata>
<type-mapping>SQLSERVER2005</type-mapping>
</metadata>
</xa-datasource>
請名位高手幫忙解決.
相關文章
- 專案問題
- Java專案問題Java
- 專案中常問的問題
- 專案實戰小問題:
- vue專案問題總結Vue
- Vue UI建立專案問題VueUI
- SAS服務效能問題專案
- 個人專案相關問題
- web專案常問面試題Web面試題
- vue專案建立遇到的問題Vue
- MAUI模板專案閃退問題UI
- go專案起步-環境問題Go
- Vue專案常見問題彙總Vue
- 實際專案中遇到的問題
- django建立的專案路徑問題Django
- maven專案缺jar問題解決MavenJAR
- 【專案中遇到的zookeeper的問題】
- Flask專案常見面試問題Flask面試
- vue專案路由不跳轉的問題Vue路由
- 專案出現的問題記錄
- IDEA開發SpringBoot專案問題集IdeaSpring Boot
- Vue專案打包常見問題整理Vue
- Django專案解決跨域問題Django跨域
- uniapp專案所遇問題總結APP
- 如何使用專案問題追蹤軟體跟進管理專案
- 企業如何用專案管理軟體做好專案問題跟蹤?專案管理
- vue專案中遇到的問題總結Vue
- Vue專案History模式404問題解決Vue模式
- spring data redis 專案使用問題彙總SpringRedis
- 遷移Qt專案的路徑問題QT
- 關於idea部署本地專案的問題Idea
- 關於lnmp配置laravel專案的問題?LNMPLaravel
- [譯] 前端專案中常見的 CSS 問題前端CSS
- pipenv + 離線移植專案 遇到的問題
- SSM專案出現的依賴問題SSM
- 專案管理中的人力資源問題專案管理
- 常見的專案管理問題有哪些?專案管理
- 專案答辯常見問題和技巧
- Pycharm匯入python專案遇到的問題PyCharmPython