I have some question about jBoss.
First
------
If I would configure the data source into bean-side. Wich syntax from the
bean descriptor have been used ?
It's the correct syntax ? Or another syntax is more appropriated ?
<resource-ref>
...
</resource ref>.
Thanks all
Bernard
"Marek Lange" <ma*********@web.de> a écrit dans le message de news:
br************@ID-177621.news.uni-berlin.de...
Bernard Koninckx schrieb:Hi everybody,?
I have some problem to use mySql with jBoss. I hava configured a datasource to access to mySql database but how can I do to use this datasource to my EJB solutions ? Have been modify the descriptor file or another solution
See jbosscmp-jdbc.xml. You have to set up your datasource as the default
datasource or per bean configuration: <defaults>
<datasource>java:/yourDS</datasource>
<datasource-mapping>mySQL</datasource-mapping>
<create-table>true</create-table>
<remove-table>false</remove-table>
</defaults> -marek
Second question :
-------------------
When I launch my client application I have the following messages :
No property editor for type: class javax.management.ObjectName, setting
value to null rather than jboss.tm:service=TransactionManagerService
No property editor for type: class javax.management.ObjectName, setting
value to null rather than jboss.remoting:service=InterceptorAdapter
No property editor for type: class javax.management.ObjectName, setting
value to null rather than jboss.tm:service=TxLogger
No property editor for type: class javax.management.ObjectName, setting
value to null rather than jboss.tm:service=XidFactory
No property editor for type: class javax.management.ObjectName, setting
value to null rather than jboss.tm:service=TxLogger
No property editor for type: class javax.management.ObjectName, setting
value to null rather than jboss.tm:service=TransactionManagerService
No property editor for type: class javax.management.ObjectName, setting
value to null rather than jboss.jca:service=CachedConnectionManager
How can I do to have not this message before executing the remote metod from
the bean ?
Thanks all
Bernard