Re: RE: Re: RE: Datasource not found
"Hans J. Prueller" <[email protected]> Fri, 11 Mar 2011 11:08:04 +0100
| Newsgroups | gmane.comp.java.objectweb.jonas |
|---|---|
| Organization | LBS logics GmbH |
| Message-ID | <1299838084.2056.21.camel@smithers> |
I know this is very unlikely but did you also copy MySQL.properties from old JONAS_BASE to new JONAS_BASE? looks like the datasource is not deployed at all. We are using the new XML-based deployment of datasources (no need to edit jonas.properties, no need to make rar files): simply describe your datasources within a XML file and drop it into the "deploy" folder --- we are pretty happy with this really comfortable new feature. regards, hans Am Freitag, den 11.03.2011, 10:51 +0100 schrieb [email protected]: > 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] 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. > This release is Java EE 5 certified > > 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: > > * JOnAS Full-profile which is a full-blown Java EE > Application Server : ( Java Web Start Installer / Java > Offline Installer / Zip / Tgz / Rpm ) > * JOnAS Micro-profile which is a small bootstrap for > JOnAS that will download services on demand (An > internet connection is required): (Zip / Tgz) > > > JIRA issue tracker instance is available at > http://jira.ow2.org/browse/JONAS > > Please report issues on this tracker or through the mailing lists. > > Issues fixed for JOnAS 5.2.0 M5 > > > Bug > * (JONAS-301) - Wrong Classpath for GenIC (rmic) when > -nofastrmic is used > * (JONAS-309) - Missing check in > JManagedConnection.remove() > * (JONAS-320) - Dependency injection of EJB in Servlet > is not working with Jetty > * (JONAS-327) - NPE if an invalid file (does not exist) > is given to ClientContainer > * (JONAS-328) - Invalid URL in the JOnAS Autostart > Kerneos module > * (JONAS-329) - Datasource deployment plan cannot use > JNDI name with '/' > * (JONAS-349) - "Should not skip: ^" is appearing > sometimes at the JOnAS startup > * (JONAS-359) - newjc tool is broken > New Feature > * (JONAS-345) - Integrate the MBeans explorer console of > EZB in jonasAdmin > * (JONAS-346) - Add support of Async Reliable WS (Cxf > based) > * (JONAS-351) - Provides HTTP level InvocationID > propagation for audit system > Task > * (JONAS-286) - Using MySQL with JOnAS in eclipse > * (JONAS-330) - Update To Apache Tomcat 7.0.8 > * (JONAS-331) - Update To Apache Tomcat 6.0.32 > * (JONAS-332) - Update to Apache Felix 3.0.8 > * (JONAS-333) - Update to Apache Felix iPOJO 1.8.0 > * (JONAS-334) - Update to Apache CXF 2.2.12 > * (JONAS-336) - Update to Apache Felix 3.0.9 > * (JONAS-337) - Update to Jetty 6.1.26 > * (JONAS-350) - Update OW2 joram to 5.5.0 > * (JONAS-352) - Update OW2 bundles to 1.0.25 > * (JONAS-353) - Update OW2 Util to 1.0.27 > * (JONAS-355) - Update to JOnAS Admin kerneos 1.0.1 > * (JONAS-356) - Update OW2 EasyBeans to 1.2.0 M4 > * (JONAS-360) - Update OW2 bundles to 1.0.26 > * (JONAS-361) - Update OW2 Util to 1.0.28 > * (JONAS-362) - Update to OW2 JOnAS Admin kerneos 1.0.2 > > > Best Regards, > > Florent > > > >