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>
請名位高手幫忙解決.
相關文章
- JiveJdon3.0 配置檔案問題
- jivejdon安裝問題
- 急救,jivejdon安裝問題
- jivejdon sql語句問題SQL
- 安裝jivejdon的問題
- JiveJdon3原始碼問題?原始碼
- 我的JiveJdon安裝問題
- jivejdon程式碼跟蹤問題
- 關於jivejdon安裝問題
- 關於安裝jivejdon的問題
- jivejdon執行的問題請教
- jivejdon3編譯的問題編譯
- 專案問題
- 在Myeclipse中重建jivejdon的問題?Eclipse
- Java專案問題Java
- 專案中常問的問題
- JiveJdon 除錯執行了,但有兩個問題除錯
- 應用jivejdon論壇出現問題! 急求助!
- Tomcat環境JiveJdon原始版安裝問題Tomcat
- vue專案問題總結Vue
- 專案實戰小問題:
- 個人專案相關問題
- web專案常問面試題Web面試題
- JN專案-序號問題
- 啟動JiveJdon的REST版以及NOSQL版探索專案RESTSQL
- 安裝jivejdon出現的問題,請指點一二
- 關於基於JiveJdon3框架的POJOObjectFactory問題框架POJOObject
- JiveJdon,Linux下安裝需要注意的問題Linux
- Flask專案常見面試問題Flask面試
- MAUI模板專案閃退問題UI
- go專案起步-環境問題Go
- SAS服務效能問題專案
- 專案出問題的前兆
- jivejdon中javax.mail.Session的型別轉換問題。JavaAISession型別
- 安裝6.22 jivejdon3的問題,已解決
- 實際專案中遇到的問題
- Django專案解決跨域問題Django跨域
- django建立的專案路徑問題Django