Re: RE: Datasource not found

Florent BENOIT <[email protected]> Fri, 11 Mar 2011 10:47:02 +0100
Newsgroups gmane.comp.java.objectweb.jonas
Message-ID <[email protected]>
    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] 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.
>
>  
>
> *De :* Florent BENOIT [mailto:[email protected]]
> *Envoyé :* jeudi 10 mars 2011 16:16
> *À :* [email protected]; [email protected]
> *Objet :* [jonas] OW2 JOnAS 5.2.0 M5 released !
>
>  
>
>     Hi JOnAS users,
>
> We're very pleased to announce the general availability of JOnAS 5.2M5 
> <http://wiki.jonas.ow2.org/xwiki/bin/view/News/JOnAS_5_2_0_M5>.
> This release is Java EE 5 certified 
> <http://java.sun.com/javaee/overview/compatibility.jsp>
>
> JOnAS 5.2 M5 is on its way to Java EE 6: CDI / EJB 3.1 Singleton / JPA 
> 2.0 / Bean Validation / JAX-RS 1.1, Servlet 3.0 (+ updated JSP and EL) 
> are supported.
> A new nice features has been introduced in this version : The MBean 
> explorer tool which is available in the jonasAdmin console allows to 
> read/write/invoke the MBeans attributes/methods embedded in JOnAS.
> There are also plenty of bug fixes and components upgrades to provides 
> better security, more performances and an always up to date JOnAS 
> experience.
>
> This is the last milestone before the first Release Candidate.
>
> Two profiles for JOnAS 5.2.0-M5 are available for download 
> <http://forge.ow2.org/project/showfiles.php?group_id=5&release_id=4515>:
>
>           o /JOnAS Full-profile/ which is a full-blown Java EE
>             Application Server : ( Java Web Start Installer
>             <http://download.forge.objectweb.org/jonas/jonas-full-5.2.0-M5-installer.jnlp>
>             / Java Offline Installer
>             <http://download.forge.objectweb.org/jonas/jonas-full-5.2.0-M5-installer.jar>
>             / Zip
>             <http://download.forge.objectweb.org/jonas/jonas-full-5.2.0-M5-bin.zip>
>             / Tgz
>             <http://download.forge.objectweb.org/jonas/jonas-full-5.2.0-M5-bin.tar.gz>
>             / Rpm
>             <http://download.forge.objectweb.org/jonas/jonas-full-5.2.0-M5_1.noarch.rpm>
>             )
>           o /JOnAS Micro-profile/ which is a small bootstrap for JOnAS
>             that will download services on demand (An internet
>             connection is required): (Zip
>             <http://download.forge.objectweb.org/jonas/micro-jonas-5.2.0-M5-bin.zip>
>             / Tgz
>             <http://download.forge.objectweb.org/jonas/micro-jonas-5.2.0-M5-bin.tar.gz>)
>
>
>
> JIRA issue tracker instance is available at 
> http://jira.ow2.org/browse/JONAS
>
> Please report issues on this tracker or through the mailing lists 
> <http://wiki.jonas.ow2.org/xwiki/bin/view/Community/Lists>.
>
> */_Issues fixed for JOnAS 5.2.0 M5_/*
>
>
>             Bug
>
>         * (JONAS-301 <http://jira.ow2.org/browse/JONAS-301>) - Wrong
>           Classpath for GenIC (rmic) when -nofastrmic is used
>         * (JONAS-309 <http://jira.ow2.org/browse/JONAS-309>) - Missing
>           check in JManagedConnection.remove()
>         * (JONAS-320 <http://jira.ow2.org/browse/JONAS-320>) -
>           Dependency injection of EJB in Servlet is not working with Jetty
>         * (JONAS-327 <http://jira.ow2.org/browse/JONAS-327>) - NPE if
>           an invalid file (does not exist) is given to ClientContainer
>         * (JONAS-328 <http://jira.ow2.org/browse/JONAS-328>) - Invalid
>           URL in the JOnAS Autostart Kerneos module
>         * (JONAS-329 <http://jira.ow2.org/browse/JONAS-329>) -
>           Datasource deployment plan cannot use JNDI name with '/'
>         * (JONAS-349 <http://jira.ow2.org/browse/JONAS-349>) - "Should
>           not skip: ^" is appearing sometimes at the JOnAS startup
>         * (JONAS-359 <http://jira.ow2.org/browse/JONAS-359>) - newjc
>           tool is broken
>
>
>             New Feature
>
>         * (JONAS-345 <http://jira.ow2.org/browse/JONAS-345>) -
>           Integrate the MBeans explorer console of EZB in jonasAdmin
>         * (JONAS-346 <http://jira.ow2.org/browse/JONAS-346>) - Add
>           support of Async Reliable WS (Cxf based)
>         * (JONAS-351 <http://jira.ow2.org/browse/JONAS-351>) -
>           Provides HTTP level InvocationID propagation for audit system
>
>
>             Task
>
>         * (JONAS-286 <http://jira.ow2.org/browse/JONAS-286>) - Using
>           MySQL with JOnAS in eclipse
>         * (JONAS-330 <http://jira.ow2.org/browse/JONAS-330>) - Update
>           To Apache Tomcat 7.0.8
>         * (JONAS-331 <http://jira.ow2.org/browse/JONAS-331>) - Update
>           To Apache Tomcat 6.0.32
>         * (JONAS-332 <http://jira.ow2.org/browse/JONAS-332>) - Update
>           to Apache Felix 3.0.8
>         * (JONAS-333 <http://jira.ow2.org/browse/JONAS-333>) - Update
>           to Apache Felix iPOJO 1.8.0
>         * (JONAS-334 <http://jira.ow2.org/browse/JONAS-334>) - Update
>           to Apache CXF 2.2.12
>         * (JONAS-336 <http://jira.ow2.org/browse/JONAS-336>) - Update
>           to Apache Felix 3.0.9
>         * (JONAS-337 <http://jira.ow2.org/browse/JONAS-337>) - Update
>           to Jetty 6.1.26
>         * (JONAS-350 <http://jira.ow2.org/browse/JONAS-350>) - Update
>           OW2 joram to 5.5.0
>         * (JONAS-352 <http://jira.ow2.org/browse/JONAS-352>) - Update
>           OW2 bundles to 1.0.25
>         * (JONAS-353 <http://jira.ow2.org/browse/JONAS-353>) - Update
>           OW2 Util to 1.0.27
>         * (JONAS-355 <http://jira.ow2.org/browse/JONAS-355>) - Update
>           to JOnAS Admin kerneos 1.0.1
>         * (JONAS-356 <http://jira.ow2.org/browse/JONAS-356>) - Update
>           OW2 EasyBeans to 1.2.0 M4
>         * (JONAS-360 <http://jira.ow2.org/browse/JONAS-360>) - Update
>           OW2 bundles to 1.0.26
>         * (JONAS-361 <http://jira.ow2.org/browse/JONAS-361>) - Update
>           OW2 Util to 1.0.28
>         * (JONAS-362 <http://jira.ow2.org/browse/JONAS-362>) - Update
>           to OW2 JOnAS Admin kerneos 1.0.2
>
> Best Regards,
>
> Florent
>