Ref: Heiko Rupp – http://pilhuhn.blogspot.comhttp://vimeo.com/36577369
Ref: http://www.fosdem.org/2012/

Best Regards
Frederic

Advertisements

[FOSDEM’12] Some Pictures

February 13, 2012

Dear *,

Here are some pictures of JBoss community @ FOSDEM’12 :

N.B. Thanks to nihed for sharing these pictures with me. – http://photo.nihed.com/Fosdem-2012/

BR

Frederic

Dear *,

Here is the definitive JBoss.org schedule for FOSDEM’12 :

Saturday 2012-02-04

Event Speaker Room When
BoxGrinder : Grind your appliances easily Marek Goldmann K.3.201 11:00-11:55
Drools Planner: Planning optimization by example Geoffrey De Smet K.3.201 12:00-12:55
Openshift David Blado K.3.201 13:00-13:55
JBoss AS7 : Building JBoss AS 7 for Fedora Carlo De Wolf K.3.201 14:00-14:55
JBoss Forge / Arquillian: Two Missing Links in Enterprise Java Development Koen Aers K.3.201 15:00-15:55
Infinispan: where open source, Java and in-memory data grids converge Manik Surtani K.3.201 16:00-16:55
RHQ: Recent and future developments in the RHQ systems monitoring and management framework Heiko Rupp K.3.201 17:00-17:55
Guvernor/JBPM : Managing workflows and business rules with Guvnor and the jBPM designer Geoffrey De Smet Marco Rietveld K.3.201 18:00-18:55

Ref : http://www.fosdem.org/2012/schedule/track/jbossorg_devroom

BR

Frederic

Dear all,

I am going to do an introduction about “JBPM 5.2” in Brussels in January 2012.
If your company or you are based in BeNeLux and are interested by this presentation, just let me know and I will try to arrange a Meeting for you.

Ref : http://www.jboss.org/jbpm

BR

Frederic

Dear all,

Yesterday and in addition of the allocated JBoss.org devroom,  I had the confirmation JBoss.org has get a booth @ FOSDEM’12.

So, I can confirm we are going to do several AS7 application deployment demonstrations over the cloud without having to worry about downloading and managing the stack, writing scripts or installing agents in using Openshift.

Ref : http://www.jboss.org/openshift

BR

Frederic

Dear all,

I am going to do a presentation about “JBoss.org AS7” in Brussels in February 2012.
If your company or you are based in BeNeLux and are interested by this presentation, just let me know and I will try to arrange a Meeting for you.

Ref : http://www.jboss.org/jbossas

BR

Frederic

Dear all,

Well, recently I tried to make my application work on JBoss.org AS7.

Just to check if I should have to do some code modifications in my application when JBoss.com EAP 6 will be released.

FYI, you can download freely JBoss.org AS7 at the following URL –  http://www.jboss.org/jbossas – however as it is a community project you will not have any support with SLA.

In case of you would need one(s) then I would suggest you to subscribe to  JBoss EAP Solutions –   http://www.jboss.com/

So,  one of my main targets was to make AS7 work with Postgresql as its underlying database.

1] I wanted to use an updated Postgresql JDBC then I had to download it from the JDBC Postgresql website –  http://jdbc.postgresql.org/download.html

I used postgresql-9.1-901.jdbc4.jar

2]  I had to create dedicated directories and files inside the JBoss.org AS7 directory.

jboss-as-7.0.2.Final/modules/org/postgres/main

Then, to upload the postgresql-9.1-901.jdbc4.jar in the following path :   jboss-as-7.0.2.Final/modules/org/postgres/main

And then to create specific xml file named : module.xml  with the following content :

<module xmlns="urn:jboss:module:1.0" name="org.postgres">
  <resources>
    <resource-root path="postgresql-9.1-901.jdbc4.jar"/>
  </resources>
   <dependencies>
     <module name="javax.api"/>
     <module name="javax.transaction.api"/>
   </dependencies>
</module>
So in the  jboss-as-7.0.2.Final/modules/org/postgres/main path you should retrieved the following files :

> postgresql-9.1-901.jdbc4.jar – Postgresql JDBC4 driver.

> postgresql-9.1-901.jdbc4.jar.index – Index file generated by JBoss. That file should automatically created by the JBoss instance as soon as the Postgresql JDBC Driver will be discover by the instance.

> module.xml – Module Description

4] Then, I  had to add a Posgresql node in the following section of the jboss-as-7.0.2.Final/standalone/configuration/standalone.xml file.

<subsystem xmlns="urn:jboss:domain:datasources:1.0">

<datasources>

                  <datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="H2DS" enabled="true" jta="true" use-java-context="true" use-ccm="true">

                     <connection-url>
                                jdbc:h2:mem:test;DB_CLOSE_DELAY=-1
                     </connection-url>
                     <driver>
                     h2
                     </driver>
                     <pool>
                                <prefill>
                                          false
                                </prefill>
                                <use-strict-min>
                                          false
                                </use-strict-min>
                                <flush-strategy>
                                          FailingConnectionOnly
                                </flush-strategy>
                     </pool>
                     <security>
                                <user-name>
                                          sa
                                </user-name>
                                <password>
                                          sa
                                </password>
                     </security>
                  </datasource>
                  <datasource jndi-name="java:jboss/datasources/PostgresqlDS" pool-name="java:jboss/datasources/PostgresqlDS_Pool" enabled="true" jta="true" use-java-context="true" use-ccm="true">
                     <connection-url>
                                jdbc:postgresql://localhost:5432/mydb
                     </connection-url>
                     <driver>
                                postgresql
                     </driver>
                     <security>
                                <user-name>
                                          myuser
                                </user-name>
                                <password>
                                          mypassword
                                </password>
                     </security>
                  </datasource>
                <drivers>
                    <driver name="postgresql" module="org.postgres">
                        <xa-datasource-class>
                            org.postgresql.xa.PGXADataSource
                        </xa-datasource-class>
                    </driver>
                    <driver name="h2" module="com.h2database.h2">
                        <xa-datasource-class>
                            org.h2.jdbcx.JdbcDataSource
                        </xa-datasource-class>
                    </driver>
                </drivers>
</datasources>
</subsystem>
Rem: Do not forget to change the Postgresql Database user and password to yours.

5] You can check in the JBoss Administration Console your JDBC connection is rcognized – http://localhost:9990/console/App.html#server/datasources

You should see a green light if everything is OK.

6] Finally, do not forget to change the persistence -persistence.xml – file of your application to check your application works with the new Posgresql datasource.

<?xml version="1.0" encoding="UTF-8"?>

<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
version="2.0">
<persistence-unit name="astroDatabase">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<jta-data-source>java:jboss/datasources/PostgresqlDS</jta-data-source>
<class>com.hornain.as.astro.Users</class>
<properties>
                  <property name="hibernate.hbm2ddl.auto" value="create-drop" />
                  <property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect"/>
                  <property name="hibernate.show_sql" value="false"/>
                  <property name="hibernate.format_sql" value="false"/>
                  <property name="hibernate.use_sql_comments" value="false"/>
</properties>
</persistence-unit>
</persistence>

Ref #1 : http://community.jboss.org/wiki/JBossAS7-DatasourceConfigurationForPostgresql

Ref #2 : http://community.jboss.org/thread/168958

Best Regards

Frederic

Dear *,

As you probably know, JBoss.org has a Development Room @ FOSDEM’12.

Indeed, we plan to do several demos – well, if we have the booth confirmation tomorrow – e.g JBoss AS 7 + Openshift Express.

In mean time here is the already probable talks :

-> JBoss AS7 in the Cloud [ OpenShift ] – http://www.jboss.org/openshift

-> Drools Planner – http://www.jboss.org/drools/drools-planner.html

-> Infinispan – http://www.jboss.org/infinispan

-> RHQ – http://www.jboss.org/jopr

-> jBPM/designer and Guvnor. –http://www.jboss.org/jbpmhttp://www.jboss.org/guvnor

Rem: If one one hour slot remains then I would be interested to have a talk on Gatein, HornetQ, Arquillian, BoxGrinder. So If you want to sumbit your talk then feel free to contact me.

BR

Frederic

Dear *,

This year, I will be @ Devoxx.

BR
Frederic 😉

[FOSDEM 2012] JBoss.org

November 11, 2011

Dear *,

JBoss.org have been accepted and planned for a developer room at FOSDEM 2012 on Saturday 4th of February 2012.
– room K.3.201 (new building) with 85 seats –
So now, I am looking for speakers.

Many THANKS to the FOSDEM TEAM.

Ref: http://fosdem.org/2012/devrooms_for_2012

Best Regards
Frederic 😉