Re: RE: Re: RE: Datasource not found

Florent BENOIT <[email protected]> Fri, 11 Mar 2011 11:06:47 +0100
Newsgroups gmane.comp.java.objectweb.jonas
Message-ID <[email protected]>
    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] 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.
>
>  
>