Blog


JOnAS 5.1.3 released

  Hi JOnAS users,

 The JOnAS team is pleased to announce the new JOnAS 5.1.3 maintenance release.

 This release is http://java.sun.com/javaee/overview/compatibility.jsp">Java EE 5 certified and provides you bug fixes on JOnAS 5.1.x branch.

Two profiles for JOnAS 5.1.3 are http://forge.ow2.org/project/showfiles.php?group_id=5&release_id=4294">available for download:

JIRA issue tracker instance is available at http://jira.ow2.org/browse/JONAS">http://jira.ow2.org/browse/JONAS</a>

Please report issues on this tracker or through the http://wiki.jonas.ow2.org/xwiki/bin/view/Community/Lists">mailing lists.

Issues fixed since JOnAS 5.1.2 :

Bug

Improvement

New Feature

Task

JOnAS 5.2.0 M2 released

    Hi JOnAS community,

The whole JOnAS team is pleased to announce a  new milestone of the new JOnAS 5.2 series.
The JOnAS 5.2 series of releases mostly targets Java 6 support and previews of Java EE 6 features as well as additional features.

In a few words, this JOnAS 5.2.0 milestone (M2) provides JAX-WS 2.1 support, comes with an http://www.slideshare.net/catherinenuel/audit-applications-javaee-solutions-linux-ow2">audit system, supports JPA 2.0 and CDI and some EJB 3.1 singleton feature for users living on the edge and http://jira.ow2.org/secure/ReleaseNote.jspa?projectId=10010&version=10073">resolves 33 issues.

Thanks to everyone who provided feedback using our http://jira.ow2.org/browse/JONAS">JIRA issue tracker.

Binaries are available, as usual, on the http://wiki.jonas.ow2.org/xwiki/bin/view/Main/Downloads">download page (in the 5.x milestones section).

Documentation has been http://jonas.ow2.org/JONAS_5_2_0_M2/doc/doc-en/html/">updated on site.


In more lengths ...

Java 6

An extra validation effort was put on this release to ensure that JOnAS is running well using JDK6.
The Sun HotSpot and http://openjdk.java.net/projects/jdk6/">OpenJDK 6 JVMs have been used during the tests.

Web Services

The move to JAX-WS 2.1 has been the opportunity to upgrade our http://cxf.apache.org">Apache CXF to a newer version (2.2.9, the current latest released yesterday)

Audit

Try out the new audit system by enabling the audit service in JONAS_BASE/conf/jonas.properties
For EJB events, don't forget to uncomment audit EJB3 component in JONAS_BASE/conf/easybeans-jonas.xml

Persistence

JPA 2.0 is now provided as a Java EE 6 preview, just set hibernate3.5 or eclipselink2 as persistence provider to activate JPA 2.0 support.
As an experimental feature, JOnAS supports both http://openjpa.apache.org">OpenJPA1 and 2 providers (openjpa or openjpa2 in the jonas.properties).

Still in the JPA area, multiple JPA providers are now supported at the same time, simply set multiple providers names in your jonas.properties.
jonas.service.ejb3.jpa.provider hibernate,eclipselink

Context and Dependency Injection

http://jcp.org/en/jsr/detail?id=299">Context and Dependency Injection (lets call it CDI for short) is a brand new Java EE 6 specification. It defines what is a managed beans (not to be confused with MBeans that are JMX management beans) and what can be done with them.
A managed beans supports:
  • a complete, fully annotation based, injection system (@Inject and @Produce). Injected beans can be qualified with user defined annotations so that Client remains cleanly decoupled from implementation details (@Qualifier).
  • the interception model that was so successful for EJB 3.0
  • extensible context aware injection (think of context as JSF scopes: application/session/request) managing injection of the right instance depending on the context.
  • a generic eventing solution decoupling observers from dispatcher (the source)
Read the http://jcp.org/en/jsr/detail?id=299">JSR 299 specification (don't be afraid it's quite an easy reading) or browse the very informative http://docs.jboss.org/weld/reference/1.0.1-Final/en-US/html/">JBoss Weld reference implementation web site for more details.
Currently the JOnAS/Weld integration is limited to standalone Web Applications (will be extended to all Java EE module types in future releases). http://websvn.ow2.org/listing.php?repname=jonas&path=%2Fsandbox%2Fsauthieg%2Fjonas-cdi-webapp%2F">Checkout the sample source to see the basics of CDI enabled applications.

OSGiTM Framework

With 5.2 M2 it's now far more easier to do advanced OSGi tuning (adding packages to system bundles, setting felix log level, ...).
${jonas.base}/
conf/
osgi/
defaults.properties
gateway.properties

Theses files are mostly self documented (please raise your voice if you have comments) and should be easy to understand and extends.


Thanks to all developers and contributors for their involvement


See the full releases notes on our web pages: http://wiki.jonas.ow2.org/xwiki/bin/view/News/JOnAS_5_2_0_M2">http://wiki.jonas.ow2.org/xwiki/bin/view/News/JOnAS_5_2_0_M2</a>


Florent

JOnAS 5.1.2 released

Hi

The JOnAS team announce the new JOnAS 5.1.2 maintenance release. In just a few words: 27 bugs were fixed, including numerous JDBC/XA fixes and a compatibility issue with Apache Ant 1.8.


http://jira.ow2.org/secure/ReleaseNote.jspa?projectId="10010&version">See full details about fixed bugs
And the release is available on the download page
Enjoy ! Guillaume (on behalf of the JOnAS Team)

JOnAS 5.2.0 M1 released

Hi community,

In few words ...

The whole JOnAS team is pleased to announce the first milestone of the new JOnAS 5.2 series.
The JOnAS 5.2 series of releases mostly targets Java 6 support and previews of Java EE 6 features as well as additional features.

In a few words, the first JOnAS 5.2.0 milestone (M1) provides JAX-WS 2.1 support, comes with an audit system, supports JPA 2.0 and CDI for users living on the edge and last but not least http://jira.ow2.org/secure/ReleaseNote.jspa?version="10012&styleName" Html&projectId="10010">resolves 89 issues.

Thanks to everyone who provided feedback using our http://jira.ow2.org/browse/JONAS">JIRA issue tracker.


Binaries are available, as usual, on the download page (in the 5.x milestones section).
Documentation has been updated on site.


In more lengths ...

Java 6

An extra validation effort was put on this release to ensure that JOnAS is running well using JDK6.
The Sun HotSpot and OpenJDK 6 JVMs have been used during the tests.

Web Services

The move to JAX-WS 2.1 has been the opportunity to upgrade our Apache CXF to a newer version (2.2.7, the current latest released only days ago), the old 2.0.x branch being unmaintained for some time now.

Persistence

JPA 2.0 is now provided as a Java EE 6 preview, just set eclipselink2 as persistence provider to activate JPA 2.0 support.
As an experimental feature, JOnAS supports both OpenJPA 1 and 2 providers (openjpa or openjpa2 in the jonas.properties).

Still in the JPA area, multiple JPA providers are now supported at the same time, simply set multiple providers names in your jonas.properties.
# Set the JPA provider: hibernate or eclipselink jonas.service.ejb3.jpa.provider hibernate,eclipselink

Context and Dependency Injection

http://jcp.org/en/jsr/detail?id="299</span></a></span>">Context and Dependency Injection (lets call it CDI for short) is a brand new Java EE 6 specification. It defines what is a managed beans (not to be confused with MBeans that are JMX management beans) and what can be done with them.
A managed beans supports:
  • a complete, fully annotation based, injection system (@Inject and @Produce). Injected beans can be qualified with user defined annotations so that Client remains cleanly decoupled from implementation details (@Qualifier).
  • the interception model that was so successful for EJB 3.0
  • extensible context aware injection (think of context as JSF scopes: application/session/request) managing injection of the right instance depending on the context.
  • a generic eventing solution decoupling observers from dispatcher (the source)
Read the http://jcp.org/en/jsr/detail?id="299</span></a></span>">JSR 299 specification (don't be afraid it's quite an easy reading) or browse the very informative JBoss Weld reference implementation web site for more details.
Currently the JOnAS/Weld integration is limited to standalone Web Applications (will be extended to all Java EE module types in future releases). http://websvn.ow2.org/listing.php?repname="jonas&#38;path">Checkout the sample source to see the basics of CDI enabled applications.

OSGiTM Framework

With 5.2 M1 it's now far more easier to do advanced OSGi tuning (adding packages to system bundles, setting felix log level, ...).
${jonas.base}/ conf/ osgi/ defaults.properties gateway.properties

Theses files are mostly self documented (please raise your voice if you have comments) and should be easy to understand and extends.

Community News

Guillaume (on behalf of the JOnAS team)

Release Notes - JOnAS 5.2.0 M1

http://jira.ow2.org/secure/ReleaseNote.jspa?version="10012&#38;styleName" Html&#38;projectId="10010">See them on the JIRA tracker

Bugs fixed

Improvement

JOnAS 5.1.1 released

    Dear JOnAS enthusiasts,

We're pleased to announce the availability of JOnAS 5.1.1.

This release is http://java.sun.com/javaee/overview/compatibility.jsp&#34;&#62;Java EE 5 certified and provides you bug fixes on JOnAS 5.1.x branch.

Two profiles for JOnAS 5.1.1 are http://forge.ow2.org/project/showfiles.php?group_id=5&#38;amp;release_id=3726&#34;>available for download:


Major key features of JOnAS 5.1:

  • OSGi based Application server
  • OSGi bridge available for Applications
    • OSGi services can use Java EE service like EJB3 exposed as OSGi services
    • OSGi service can be injected into Java EE (EJB3/Servlet) components.
  • Services on demand (A JOnAS service is loaded if the application is requiring it)
  • Web application loaded on demand (on the first access on the http port)
  • New JOnAS Admin console based on Flex (Struts only version still available)
  • http://jonas.ow2.org/JONAS_5_1_0/doc/doc-en/html/j2eeprogrammerguide.html#id1216546&#34;>Filtering classloaders if applications needs to filter libraries of the Application Server.
  • Discover other features on http://jonas.ow2.org&#34;&#62;http://jonas.ow2.org&#60;/a&#62;

JIRA issue tracker instance is available at http://jira.ow2.org/browse/JONAS&#34;&#62;http://jira.ow2.org/browse/JONAS&#60;/a&#62;
Please report issues on this tracker or through the http://wiki.jonas.ow2.org/xwiki/bin/view/Community/Lists&#34;&#62;mailing lists.


Tools working with JOnAS 5.1:


Issues fixed since JOnAS 5.1.0 :

Bug

Improvement

Task

Enjoy !

Florent

Discover JOnAS 5.1


 

Discover OW2 JOnAS 5.1


 As you probably already know, JOnAS 5.1.0 was released earlier this week.

 To ease users bootstrap on JOnAS, we've provided an article describing JOnAS 5.1 novelties. It's a precise overview of all the useful new features we've bundled in that release: developers and architects will find all latest information they need.

 Users can also read the compiled list of news and noteworthy for more details on new features: * (21 Sep 2009) OW2 JOnAS 5.1.0 * (10 Sep 2009) OW2 JOnAS 5.1.0 RC4 * (25 Jun 2009) OW2 JOnAS 5.1.0 RC3 * (07 Apr 2009) OW2 JOnAS 5.1.0 RC2 * (30 Mar 2009) OW2 JOnAS 5.1.0 RC1 * (16 Mar 2009) OW2 JOnAS 5.1.0 M5 * (12 Mar 2009) OW2 JOnAS 5.1.0 M4 * (12 Feb 2009) OW2 JOnAS 5.1.0 M3 * (12 Dec 2008) OW2 JOnAS 5.1.0 M2 * (09 Oct 2008) OW2 JOnAS 5.1.0 M1

JOnAS 5.1.0 RC4 released

Dear JOnAS enthusiasts,


We're pleased to announce the availability of JOnAS 5.1 Release Candidate 4.

This version has been under work during all the summer to provide you the best (and most stable at this time) release of JOnAS 5.1: a large number of project dependencies (Tomcat, EasyBeans, Joram, ...) have been upgraded to include the latest bug fixes, a lot of issues (40+) have been resolved and a particular attention was paid to the new administration web console's user experience. These last months were completely dedicated to the stabilization of our Java EE platform, testing it extensively with multiple OSs and different JVMs in order to guarantee as much as possible a steady release.


This is the last RC on the road to a final release. The team expects to cut the 5.1.0 final version within a couple of weeks.


Two profiles for JOnAS 5.1 RC4 are http://forge.ow2.org/project/showfiles.php?group_id="5&#38;release_id">available for download: * JOnAS Micro-profile which is a small bootstrap for JOnAS that will download services on demand (An internet connection is required): Zip / Tar.Gz * JOnAS Full-profile which is a full-blown Java EE Application Server : Installer / Zip / Tar.Gz


As usual, the JOnAS team is welcoming all kind of contributions: http://forge.ow2.org/tracker/?atid="100005&#38;group_id" 5&#38;func="browse">bug reports, patches, comments, discussion on mailing lists, ... even congratulations ;)


Enjoy. Guillaume, on behalf of the JOnAS Team

New Features

* A new Izpack installer is provided (online or offline) Easily customize your configuration Generate a JONAS_BASE configuration in one click * The JOnAS Administration web console is now Flash based More Web 2.0 More modular The old, JSP based console is still available (See http://localhost:9000/jonasAdmin/Welcome.do) * IPv6 addresses can be used in the Carol & CMI configuration files (See http://forge.ow2.org/tracker/?group_id="5&#38;atid" 100005&#38;func="detail&aid">Bug #31407 & http://forge.ow2.org/tracker/?group_id="5&#38;atid" 100005&#38;func="detail&aid">Bug #313996).
Example of IPv6 address: [1fff:0:a88:85a3::ac1f:8001] ([] are REQUIRED)
  • JDBC Connection Leaks detector is available (turned on by default) Output a warning when a Thread doesn't release all used resources AND automatically closes Connections when the application don't do it * On Demand Web Tier The Web Container is only started at the first access on the HTTP port The Web Applications are also only started when the first request is processed (if the 'WEB-INF/jonas-web.xml' contains an flag element) By Default the web application is loaded and available after the deployment

    Improvements

    * Documentation has been completed (ClassLoaders, JaxWs, new features). * JAX-WS Tutorial has been improved (Application Client introduced). * Supports management of the STANDBY mode
    Master servers can now manage slave instances in standby within the jonasAdmin console * Avoid deploying an archive if the file copy is not finished. * Improved services dependencies (deploying the 'jaxws' service will deploy all required services even theses not present in the services list). * New banner for the 'jonas' shell script: short and easily modifiable.
>$ jonas start OW2 JOnAS 5.1.0-RC4 [ <span class="wikiexternallink"><a class="wikimodel-freestanding" href="http://jonas.ow2.org"><span class="wikigeneratedlinkcontent">http://jonas.ow2.org</span></a></span> / jonas@ow2.org ] .....
  • Better output for the 'jonas admin' command Show only the root exception cause message (more clear) Added 'verbose' (or '-v') to print the full stack trace For developers: * Speedup JOnAS build time by avoiding JSP compilations

    Components upgrade

    * OW2 EasyBeans (1.1.0) Release Notes * OW2 Utils (1.0.19) * OW2 Carol (3.0.7) * OW2 CMI (2.2.2) * OW2 JORAM (5.2.5) * Apache Tomcat (6.0.20) * Apache Scout (1.1.1) * Apache jUDDI (2.0rc7) * Apache Felix (1.8.1) Apache Felix Shell (1.2.0) Apache Felix OBR (1.4.0) Apache Felix Dependency Manager (2.0.1) * Apache CXF (2.0.12) * Apache Commons Digester (2.0) * Apache Commons Discovery (0.4) * Apache Commons Logging (1.1.1) * Apache Commons BeanUtils (1.8.0) * Apache Xerces (2.9.1) * Apache Xalan (2.7.1) * Sun JAXB (2.1.12) * MortBay Jetty (6.1.19)

    Bug Fixes

    OW2 JOnAS

    * Corrected multi-threading issue with CXF * Corrected an issue when accessing to a non clustered RMI object by using CMI * Corrected issue in development mode where an updated application was redeployed before being undeployed * 'ProbeJGroups' scripts have been corrected to include new libraries locations * 'joram_raconfig' scripts have been corrected to use the new JORAM RAR location * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 314232&#38;group_id="5&atid">Bug #314232 - NPE with some JDKs that are not packaged with a recent enough XML parser * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 313995&#38;group_id="5&atid">Bug #313995 - ClassNotFoundException when an EJB is called twice (recursively) * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 314064&#38;group_id="5&atid">Bug #314064 - When starting a server in a domain with the 'standby' option, it can't be discovered by the master. * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 314197&#38;group_id="5&atid">Bug #314197 - web versioning doesn't work for context root '/' * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 314004&#38;group_id="5&atid">Bug #314004 - JGroups version is missing in versions.properties * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 314170&#38;group_id="5&atid">Bug #314170 - Web security doesn't work with versioned applications * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 314171&#38;group_id="5&atid">Bug #314171 - Improve jonas command output * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 313005&#38;group_id="5&atid">Bug #313005 - JOnAS-Admin/EasyBeans: monitoring statistics of EJB3 is not completely implemented (admin pb) * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 313686&#38;group_id="5&atid">Bug #313686- Error using struts2 tiles2 plugins - Need to press F5 once to work * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 311090&#38;group_id="5&atid">Bug #311090 - jonas shell script command fails to Compute JONAS_ROOT in case it has not been set * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 314104&#38;group_id="5&atid">Bug #314104 - JOnAS restart problem with deployment plan that includes OSGi bundles * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 314126&#38;group_id="5&atid">Bug #314126 - Directory-Based EAR deployment don't deploy unarchived childrens * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 314159&#38;group_id="5&atid">Bug #314159 - Rework URL/File handling during deployment * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 314061&#38;group_id="5&atid">Bug #314061 - Cannot add User Valves * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 314150&#38;group_id="5&atid">Bug #314150 - $JONAS_BASE/repositories/url-internal is not defined as a deployment plan repository * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 314081&#38;group_id="5&atid">Bug #314081 - Trim in deployment plan missing ? * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 314127&#38;group_id="5&atid">Bug #314127 - Ignore by default files ending with in the deploy directory * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 314108&#38;group_id="5&atid">Bug #314108 - Can't undeploy web projects when using directory based deployment on Linux * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 309027&#38;group_id="5&atid">Bug #309027 - ClientContainer execute not-secured.jar instead of secured.jar application client * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 314113&#38;group_id="5&atid">Bug #314113 - Schema for webapp 2.4 not up-to-date * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 314065&#38;group_id="5&atid">Bug #314065 - JOnAS server name should be in jonas.properties * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 314100&#38;group_id="5&atid">Bug #314100 - JSP compilation is broken with Jetty * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 310353&#38;group_id="5&atid">Bug #310353 - JOnAS with Jetty web container doesn't work * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 313563&#38;group_id="5&atid">Bug #313563 - JavaEE 5 annotations not taken into account in JSF managed beans * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 313768&#38;group_id="5&atid">Bug #313768 - No o+x permission on JOnAS_ROOT/bin * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 313971&#38;group_id="5&atid">Bug #313971 - ClassNotFoundException for org.ow2.carol.jndi.spi.URLInitialContextFactory in a Work * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 314071&#38;group_id="5&atid">Bug #314071 - EL package contained in Tomcat bundle, but not exported * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 314093&#38;group_id="5&atid">Bug #314093 - Problem when accessing reference to a webservice port component * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 313987&#38;group_id="5&atid">Bug #313987 - java -jar $JONAS_ROOT/lib/client.jar -? . don't work * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 313967&#38;group_id="5&atid">Bug #313967 - Unable to start client container in a particular config of JOnAS * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 313667&#38;group_id="5&atid">Bug #313667 - NPE exception during the deployment of the jaxws sample tutorial if the jaxws service is not set * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 314044&#38;group_id="5&atid">Bug #314044 - Cannot start JOnAS with IIOP protocol * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 313996&#38;group_id="5&atid">Bug #313996 - Cannot start CMI on windows, when IPv6 preference is activated. * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 309074&#38;group_id="5&atid">Bug #309074 - newjc.sh & jcl.sh scripts doesn't run at all * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 314025&#38;group_id="5&atid">Bug #314025 - Error of versionning service with JRockit 1.5 and 1.6

    OW2 Utils & Bundles

    Bug

    • UTIL-20 - Deployment plans and repository lists are sensitive to linebreaks and spaces in test data
    • UTIL-53 - No trimming in XML deployment plan
    • UTIL-54 - FileUtils.updateAttributesInManifest() do not work with unpacked archives
    • UTIL-56 - EARDeployableImpl do not work correctly when completely unpacked
    • UTIL-57 - Directory URL for an archive may change during archive lifetime

    Improvement

    • UTIL-55 - FileUtils should provide convenience close() and flush() methods
    • UTIL-59 - IArchive.getURL() should return a canonicalized URL when possible

    Task

    Known Bugs

    * http://forge.ow2.org/tracker/index.php?func="detail&#38;aid" 314234&#38;group_id="5&atid">Bug #314234 - RMI/IIOP using IBM JDK 5 is broken in some cases (bind/unbind failures, JMX remote connection impossible)

    Screenshot

    {jonasAdmin.gif}</center></textarea>{/pre}</dd>

    Summary (optional):
    {pre}