RE: Re: RE: Re: RE: Re: RE: Datasource not found
<[email protected]> Fri, 11 Mar 2011 11:49:06 +0100
| Newsgroups | gmane.comp.java.objectweb.jonas |
|---|---|
| Message-ID | <B11765B89737A7498AF63EA84EC9F57765B786@ftrdmel1> |
I will try this, thanks for your help. De : Florent BENOIT [mailto:[email protected]] Envoyé : vendredi 11 mars 2011 11:31 À : [email protected] Objet : [jonas] Re: RE: Re: RE: Re: RE: Datasource not found [email protected] <mailto:[email protected]> wrote: You did it ! dbm was not started L Great ! I add this in jonas.properties and now it works. In previous versions of Jonas it was not set by default? I think it was. I think it is not set by default since a long time ago as resource service is used by default and not dbm. Also as Hans said, you should try the new way of deploying datasources by dropping file in deploy folder Regards, Florent De : Florent BENOIT [mailto:[email protected]] Envoyé : vendredi 11 mars 2011 11:07 À : [email protected] Objet : [jonas] Re: RE: Re: RE: Datasource not found Hi Serge, Well, it means that virtDS has not been bound into the registry. Are you sure that the correct JONAS_BASE is used ? dbm service is enabled ? Check with the traces of the dbm service in JONAS_BASE/conf/trace.properties file Regards, Florent [email protected] <mailto:[email protected]> wrote: When I type « jonas admin -j » I see jrmp names: jdbc_xa1 jdbc_xa2 JQCF ejb/mgmt/MEJB MailCompletedOrde RMI_SERVER_RPC ProjectManagerBea OrderApprovalQueu sampleQueue CF OrdersQueue JOnASJDBC_CP jdbc_1 JCF ClusterManager CloudAdminBean EventManagerBean TCF StatsTimerSession JTCF jrmpconnector_jon JOnASJDBC_DM JOnASJDBC_XA JOnASJDBC_DS InvoiceTopic javax.transaction joramActivationSp CloudAdmin javax.transaction EZB_Remote_JNDIRe sampleTopic simpaReplyQ SupPurchaseOrderQ TMFactory jonas_remoteres MailQueue UpdateIpTimerSess MailOrderApproval QCF UserManagerBean De : Florent BENOIT [mailto:[email protected]] Envoyé : vendredi 11 mars 2011 10:47 À : [email protected] Objet : [jonas] Re: RE: Datasource not found Hi Serge, Could you type the command : "jonas admin -j" or print from jonasAdmin console the JNDI names that are available in the registry ? Regards, Florent [email protected] <mailto:[email protected]> wrote: Hi there, I've installed this new version of Jonas yesterday in place of the M4 version. I have this error message when starting Jonas : "JPersistenceUnitInfoHelper.getPersistenceUnitInfoList : Datasource named virtDS was not found, use instead the default jndi name jdbc_1" In my jonas.properties I have : jonas.service.dbm.datasources HSQL1,MySQL And in MySQL.properties datasource.name virtDS datasource.url jdbc:mysql://p-oopencloud:3306/virt datasource.classname com.mysql.jdbc.Driver datasource.username root datasource.password datasource.mapper rdb.mysql I cannot see the point L It worked well with M4 version. Of course I put mysql-connector-java-5.1.14-bin.jar in jonas_base/lib/ext Thanks for your help.