WildFly is approaching Fedora

In April 2013 the JBoss Application Server rename to WildFly was announced at Devoxx. Since then the WildFly team made a couple of Alpha releases. They all start with version 8.0.0 to highlight the fact that WildFly is the successor of JBoss AS. Immediately after the first release of WildFly I’ve started to think about getting it into Fedora. A few days ago I finished upgrading all required components and finally packaged Alpha3 version of WildFly. It’s already available in Rawhide and in Fedora 20 updates-testing repository. ...

September 18, 2013 · 2 min · Marek Goldmann

Domain mode in Fedora's JBoss AS

JBoss Application Server shipped in Fedora makes it easy to run it as a system service. So far you could launch only the standalone mode, there was no easy way to run it in the domain mode. This is going to change. If you’re not familiar with the operating modes, I highly recommend you reading the introduction to it. In short, in domain mode you can launch more than one server on one host easily. But this is not everything – you get a single entry point for management for all these instances. This means that you can deploy applications one all instances by just executing one command! ...

May 24, 2013 · 3 min · Marek Goldmann

JMX connections to JBoss AS

There are many tools that use JMX connections which can be useful for debugging and performance tunning of your applications running on the JVM. The most used are JConsole (shipped with every JDK) and VisualVM (available to download on Oracle page). But before I show how to connect them to JBoss AS we need to understand a few concepts. Standalone and domain mode JBoss AS can be run in either standalone or domain mode. I won’t explain in detail the difference between those two here because this is a topic for another blog post. The most important difference is that in domain mode you can manage a set of JBoss AS instances using one management entry point compared to starting just one server in standalone mode. It depends on your use case which mode you should use - both have pros and cons. ...

April 16, 2013 · 7 min · Marek Goldmann

Webservices support in JBoss AS in Fedora

Version infoNew features mentioned in this post are available in jboss-as-7.1.1-11 or newer. Until now the webservices support was not available in the Fedora packaged JBoss AS. The main issue was the lack of CXF stack in Fedora. It took some time to make it available in an RPMified version since CXF is a pretty big project, with many submodules and a pretty nice dependency tree. Currently in Fedora we have JBoss AS available in version 7.1.1.Final which requires CXF 2.4.6. This is a pretty old release. I decided to upgrade the CXF stack to the latest available release from the 2.6.x series. This triggered updating the jbossws-* stack to newer versions than shipped with JBoss AS 7.1.1.Final. I did some tests and it seems that the components integrate with JBoss AS seamlessly. Either case please test your application with the new stack and report any bugs. ...

November 26, 2012 · 3 min · Marek Goldmann

Generate a database schema with OpenJPA and Hibernate on JBoss AS 7

When you develop an application, sometimes you want to run it quickly and test it manually. Sometimes you want to execute some integration tests that require database access. In all of these cases you need a working database. Thanks to JPA providers we can generate the database schema based on the entity definitions. Let’s quickly look at two of them: Hibernate and OpenJPA. Hibernate configuration I’m sure you have used Hibernate before. Did you know that it has a nice feature that generates the schema in the database at application startup? You can additionally place any SQL statements you want to execute after the creation of the schema into file called import.sql. ...

August 24, 2012 · 3 min · Marek Goldmann

OpenJPA and Hibernate 3 on JBoss AS in Fedora

With the upcoming new release of the JBoss AS package in Fedora you’ll be able to use both the Hibernate 3 and OpenJPA JPA providers. The reason why I’m enabling this for you is that we still don’t have Hibernate 4 packaged, which is a pity since Hibernate 4 is the default JPA provider in JBoss AS 7. If you want to help us with it, please consider reviewing the Gradle package. Sample application I crafted a small application that shows how to use the two new providers. The full source code is available from my GitHub account. This application uses JSF and CDI in addition to JPA. And yes, I use both JPA providers at the same time. ...

August 22, 2012 · 3 min · Marek Goldmann

JBoss AS 7.1.1-4 update pushed to Fedora

I’m very happy to let you know that I pushed today a new update for jboss-as package to Fedora. New stuff The 7.1.1-4 version includes a lot of new modules as well as some design changes, let’s go briefly over them. Stability The most important change from a RPM/build stability POV is the move from building minimalistic to default profile. This let me know to drop about 60 (sic!) patches from the jboss-as.spec. ...

July 4, 2012 · 2 min · Marek Goldmann

Impressions after Fedora Test Day for JBoss Application Server

Yesterday we had JBoss AS Test Day. Since the early morning hours we received help with testing the RPM packaged JBoss AS. And what’s the general impression? It works! Almost all test cases we prepared were successfully finished by our community members. We found one issue with not preserving the permission on files when adding new users to JBoss AS management interface. I’ve created a fix for that and sent a pull request. Expect to have it fixed in jboss-as-7.1.0-4 package. ...

April 18, 2012 · 1 min · Marek Goldmann

JBoss AS Fedora Test Day - today!

We’re going today to test the (very) fresh JBoss Application Server which was packaged into Fedora. I hope you have some time to join us! Where I can read more about the test day? Most recent information you can find on the JBoss AS Fedora Test Day wiki page. How should I prepare? Make sure you have a Fedora 17 environment somewhere (VM preferred) with latest updates installed. This is very important. ...

April 17, 2012 · 1 min · Marek Goldmann