[JBoss Messaging] - Bute vs Grachev @ live Str-ea-ming on Saturday night against big puncher Denis Grachev (12-0, 8 KO’s( at the Bell Centre, in Montreal, Quebec, Canada.
by kamrulb fdfsgdfs
kamrulb fdfsgdfs [https://community.jboss.org/people/kamrulbuihan] created the discussion
"Bute vs Grachev @ live Str-ea-ming on Saturday night against big puncher Denis Grachev (12-0, 8 KO’s( at the Bell Centre, in Montreal, Quebec, Canada."
To view the discussion, visit: https://community.jboss.org/message/774498#774498
--------------------------------------------------------------
Bute vs Grachev @ live St rea ming on Saturday night against big puncher Denis Grachev (12-0, 8 KO’s( at the Bell Centre, in Montreal, Quebec, Canada.
http://live.365watchtv.com/boxing3.html http://live.365watchtv.com/boxing3.html
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/774498#774498]
Start a new discussion in JBoss Messaging at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 5 months
[Datasource Configuration] - Error : configuring hibernate.cfg.xml dinamically
by Marco Leonardini
Marco Leonardini [https://community.jboss.org/people/thelostknight] created the discussion
"Error : configuring hibernate.cfg.xml dinamically"
To view the discussion, visit: https://community.jboss.org/message/774495#774495
--------------------------------------------------------------
hello
i have a problem when i try to configure the hibernate.cfg.xml dinamically
this is the HibernateUtil.java (according to the reference book )
Configuration cfg = new Configuration(
.addClass(Entidades.Empresa.class)
.addClass(Entidades.Persona.class)
.setProperty("hibernate.connection.url", "jdbc:mysql://localhost:3306/hibernate")
.setProperty("hibernate.connection.username", "admin")
.setProperty("hibernate.connection.password", "");
cfg.configure();
sessionFactory = cfg.buildSessionFactory();
and this is the hibernate.cfg.xml
<hibernate-configuration>
<session-factory>
<property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
<property name="hibernate.connection.driver_clapss">com.mysql.jdbc.Driver</property>
<property name="hibernate.connection.url">jdbc:mysql://localhost:3306/almacen</property>
<property name="hibernate.connection.username">xxx</property>
<property name="hibernate.connection.password">xxx</property>
<mapping resource="Entidades/Persona.hbm.xml"/>
<mapping resource="Entidades/Empresa.hbm.xml"/>
</session-factory>
</hibernate-configuration>
you can see that in the xml the database is almacen but in the .java im changing it to hibernate. the problem occurs when i try to change the username and password but the java doesnt change those values
the error i got is:
you can see it doesnt change de the username
INFO: using driver: null at URL: jdbc:mysql://localhost:3306/hibernate
INFO: connection properties: {user=xxx, password=****, driver_clapss=com.mysql.jdbc.Driver}
WARNING: Could not obtain connection metadata
java.sql.SQLException: Access denied for user 'xxx'@'localhost' (using password: YES)
please help me i want to configure in a dinamically way (i need it) i dont know where is the error
thanks in advance
Leo
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/774495#774495]
Start a new discussion in Datasource Configuration at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 5 months
[JBoss Tools] - It's Beta Time for JBoss Tools and Developer Studio
by Nick Boldt
Nick Boldt [https://community.jboss.org/people/nickboldt] modified the blog post:
"It's Beta Time for JBoss Tools and Developer Studio"
To view the blog post, visit: https://community.jboss.org/community/tools/blog/2012/11/01/its-beta-time...
--------------------------------------------------------------
It's Beta time for JBoss Tools 4 and JBoss Developer Studio 6!
https://community.jboss.org/servlet/JiveServlet/showImage/38-4854-18193/j... https://community.jboss.org/servlet/JiveServlet/downloadImage/38-4854-181...
h4. Beta 1
Developer Studio: [ https://marketplace.eclipse.org/node/503834 Marketplace] [ http://devstudio.jboss.com/earlyaccess Download] | Tools: [ https://marketplace.eclipse.org/node/420896 Marketplace] [ http://www.jboss.org/tools/download Download] [ http://download.jboss.org/jbosstools/updates/development/juno/ Update Site] | [ http://docs.jboss.org/tools/whatsnew What's New] [ http://www.jboss.com/index.html?module=bb&op=viewforum&f=201 Forums] [ http://jira.jboss.com/jira/browse/JBIDE JIRA] [ http://twitter.com/jbosstools Twitter]
JBoss Tools is a set of plugins for Eclipse that complements, enhances and goes beyond the support that exists for JBoss and related technologies in the default Eclipse distribution.
JBoss Developer Studio is a fully bundled Eclipse distribution which not only includes the majority of JBoss Tools but also all its needed dependencies and 3rd party plugins allowing for an easy one-click and no-fuss installation.
If you are into doing your own bleeding edge eclipse plugin assembly, JBoss Tools is for you; if you are more into having something that "Just Works" then JBoss Developer Studio is the way to go.
h2. Installation
+JBoss Developer Studio+ comes with everything pre-bundled in its installer. Simply http://devstudio.jboss.com/earlyaccess download it from our early access site and run it like this:
java -jar jbdevstudio-<installername>.jar
*Note:* if you are on Windows or Mac OSX 64-bit we recommend you ensure to select the 32-bit option in the multi-platform installer to get Visual Page editor working and use much less memory.
+JBoss Tools+ requires a bit more:
http://marketplace.eclipse.org/marketplace-client-intro?mpc_install=420896 https://devstudio.jboss.com/images/jbosstools-marketplace-download-now.png
This release requires at least Eclipse 4.2 but we recommend using the http://www.eclipse.org/downloads/packages/release/juno/sr1 Eclipse 4.2 JEE Bundle since then you get most of the dependencies preinstalled.
Once you have installed Eclipse, you either find us on https://marketplace.eclipse.org/node/420896 Eclipse Marketplace under "JBoss Tools (Juno)" or use our update site directly.
The update site URL to use from Help > Install New Software... is:
http://download.jboss.org/jbosstools/updates/stable/juno/ http://download.jboss.org/jbosstools/updates/development/juno/
Note: SOA tooling for BPEL, Drools, Guvnor, jBPM, ESB, Modeshape, pi4soa, Savara, SwitchYard & Teiid are no longer included in the JBoss Tools release. They will become available separately later.
h2. Bring Your Own Eclipse
This beta introduces JBoss Developer Studio BYOE (Bring Your Own Eclipse) which allow you to install the plugins provided and supported in JBoss Developer Studio to your own existing Eclipse installation from https://marketplace.eclipse.org/node/503834 Eclipse Marketplace.
If unavailable soon from "Help > Eclipse Marketplace...", simply click the link above to browse the Marketplace entry, then drag the link there into your Eclipse.
We are eager to hear how this BYOE option work for you and do please let us know ASAP if you spot issues with this new and more flexible way of installing Developer Studio! Thank you!
h2. Multiple OpenShift Servers
OpenShift now allows you to connect to multiple OpenShift servers, i.e. your own Origin server as well as hosted openshift.
h2. And more...
See the full list of changes in Alpha1, Alpha2 and now Beta1 at the http://docs.jboss.org/tools/whatsnew/ What's New and Noteworthy and of course a good bunch of bug fixes and adjustments for running well in Eclipse 4.2/Juno.
Have fun!
--------------------------------------------------------------
Comment by going to Community
[https://community.jboss.org/community/tools/blog/2012/11/01/its-beta-time...]
13 years, 5 months