MigrationPathToEAP6

Dear all,

I am going to do a talk about “Migration Path to JBoss EAP 6” in January 2013.
The topic of that presentation is to give you an overview of how to successfully migrate applications to JBoss Enterprise Application Platform.
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.

BR
Frederic

Dear all,

I am going to do a presentation about “JBoss Enterprise Workflow/BPM and Rules Solutions” in Belgium in May 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.redhat.com/products/jbossenterprisemiddleware/soa/

BR

Frederic

Dear *,

Recently, I tried the JBPM 5.2.0 – JBoss Business Process Management – web management console and I had an application crash when I selected in the left menu the item “Process overview”.

Fortunately there is a solution to that problem which is to add the following line in the part of the build.xml file included in jbpm-installer_5.2.0 directory :

<!– Install reporting AS7 –>
<target name=”install.reporting.into.jboss7″ depends=”check.birt.as7″ if=”birt.download” >
<mkdir dir=”${install.home}/birt”/>
<unzip src=”${install.home}/lib/birt-runtime-${birt.version.as7}.zip”
dest=”${install.home}/birt”/>
<copy todir=”${install.home}/target/jbpm-gwt-console-server-war/WEB-INF/lib”>
<fileset dir=”${install.home}/birt/birt-runtime-${birt.version.as7}/ReportEngine/lib”>
<include name=”*/.jar”/>
<exclude name=”**/org.apache.commons.codec_1.3.0.v201101211617.jar”/>
</fileset>
</copy>

CLICK ON THE PICTURE TO ENLARGE IT

Ref : http://sourceforge.net/projects/jbpm/files/

http://www.jboss.org/jbpm

Best Regards

Frederic


Dear *,

We plan to organize an small event this year – 2012 – in Belgium on how to build your own social community Platform with Enterprise Open Source Softwares inside your company.

This event should cover the user experiences services like :

  • Enterprise Social
  • Communication
  • Collaboration
  • Content Management
  • Custom Application Development
  • Mobile Applications

So, If you or your company are based in BeNeLux and are interested by this subject, then just let me know and I will arrange a Meeting for you.

BR

Frederic

Dear all,

JBoss® Operations Network (JBoss ON) a key component of Red Hat’s JBoss Managed offerings, provides built-in management and monitoring capabilities to effectively administer all of your JBoss application environments, helping you improve operational efficiency, reduce costs, and ensure a positive experience for your end-users.

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.com/products/jbosson

BR

Frederic

Dear all,

I am going to do a presentation about “JBoss Enterprise Portal-P 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.com/products/platforms/portals/

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 *,

I am going to do a presentation about “JBoss Enterprise SOA-P 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.com/products/platforms/soa

BR

Frederic

Dear *,

I am going to do a presentation about “JBoss BRMS 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.com/products/platforms/brms/

BR
Frederic

Dear *,

I found this video very clear to explain what JBoss solutions can do for your business.

That is why I share it with you.

Ref: http://www.redhat.com/promo/integrated_enterprise/

http://www.jboss.com/

BR

Frederic