Archive
JOnAS Blog - posts for March 2010
Mar 30 2010
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 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.
Context and Dependency Injection
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 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). 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, ...).
Theses files are mostly self documented (please raise your voice if you have comments) and should be easy to understand and extends.
Community News
- OW2 JOnAS running on GNU Classpath/JamVM
As part of the European ITEA2 OSAmI project, JOnAS has been succesfully executed under a full open source stack. JamVM as the Virtual Machine (supporting Java 5 and ARM) (with small JVM changes) and GNU Classpath providing the Java library (rt.jar).
- OW2 JOnAS was part of Solutions Linux (Paris)
JOnAS team members were presenting JOnAS (and companion project OW2 JASMINe) during Solutions Linux.
Presentations focused on the audit system , on right sized application server and on autonomic management of Paas. - Leverage Apache Tomcat applications with OW2 JOnAS
A new datasheet is available and underlines how to increase productivity and agility of your Apache Tomcat applications with OW2 JOnAS.
- OW2 JOnAS Contributor Guide
XiaoDa provided some initial draft of a "how to contribute" guide.
Guillaume (on behalf of the JOnAS team)
Release Notes - JOnAS 5.2.0 M1
See them on the JIRA tracker |
Bugs fixed
- (http://jira.ow2.org/browse/JONAS-3'>JONAS-3) - Invalid value for the totalCurrentTransactions attribute of the JTAResource MBean
- (http://jira.ow2.org/browse/JONAS-5'>JONAS-5) - Unable to launch a client for the example 'javaee5-earsample' when executing the task 'run:not-secured-client'
- (http://jira.ow2.org/browse/JONAS-9'>JONAS-9) - Use a unique TCCL during application deployment
- (http://jira.ow2.org/browse/JONAS-11'>JONAS-11) - Bad links and suggestions about "Java EE Programmer's Guide" documentation
- (http://jira.ow2.org/browse/JONAS-16'>JONAS-16) - Weird message if JONAS_BASE has spaces
- (http://jira.ow2.org/browse/JONAS-19'>JONAS-19) - depmonitor service never inspects additionnal directories
- (http://jira.ow2.org/browse/JONAS-23'>JONAS-23) - Redirects are incorrectly rewritten
- (http://jira.ow2.org/browse/JONAS-24'>JONAS-24) - In the jonasBase ant task, the attribute 'update=on' has no effect.
- (http://jira.ow2.org/browse/JONAS-26'>JONAS-26) - smartclient bootstrap is missing
- (http://jira.ow2.org/browse/JONAS-33'>JONAS-33) - jonasAdmin : Displaying beans with the same name but belonging to different EARS
- (http://jira.ow2.org/browse/JONAS-35'>JONAS-35) - Tanuki wrapper cannot stop JOnAS
- (http://jira.ow2.org/browse/JONAS-36'>JONAS-36) - Tanuki wrapper doesn't work if path has spaces
- (http://jira.ow2.org/browse/JONAS-39'>JONAS-39) - The build.xml defined the directory examples/cluster-j2ee14/src is broken and useless.
- (http://jira.ow2.org/browse/JONAS-41'>JONAS-41) - NPE when loading user defined policies and strategies
- (http://jira.ow2.org/browse/JONAS-49'>JONAS-49) - WebService not exposed at startup if onDemand=true and if there were no http access
- (http://jira.ow2.org/browse/JONAS-55'>JONAS-55) - JonasAdmin: management exception occurs when Deploy or Undeploy a RAR.
- (http://jira.ow2.org/browse/JONAS-56'>JONAS-56) - Unable to undeploy repositories through the administration console
- (http://jira.ow2.org/browse/JONAS-59'>JONAS-59) - Error when using the jcl4sc script with option -n
- (http://jira.ow2.org/browse/JONAS-61'>JONAS-61) - client.jar is not sufficient to launch the client container
- (http://jira.ow2.org/browse/JONAS-64'>JONAS-64) - NoSuchMethodError when using cargo standalone configuration
- (http://jira.ow2.org/browse/JONAS-65'>JONAS-65) - Jk cluster factorfy should read "worker.workername.balance_workers" instead of "worker.workername.balanced_workers"
- (http://jira.ow2.org/browse/JONAS-68'>JONAS-68) - Allow component context to access CMI context first, if cmi is activated.
- (http://jira.ow2.org/browse/JONAS-70'>JONAS-70) - Pb. with Session Bean Monitoring deployed within a EJB2 container: can't use 'monitoringEnabled' attribute
- (http://jira.ow2.org/browse/JONAS-72'>JONAS-72) - On-demand HTTP connector also proxifies AJP
- (http://jira.ow2.org/browse/JONAS-74'>JONAS-74) - Cannot stop felix bundle
- (http://jira.ow2.org/browse/JONAS-75'>JONAS-75) - DBM JDBC pool has negative number of current used connections
- (http://jira.ow2.org/browse/JONAS-76'>JONAS-76) - jonasAdmin console is reset when switching to the "JDBC Conection leaks" window
- (http://jira.ow2.org/browse/JONAS-80'>JONAS-80) - The jcl4sc script cannot start the cluster in separate windows
- (http://jira.ow2.org/browse/JONAS-83'>JONAS-83) - When called in an EJB3, getClass().getPackage() triggers a NPE
- (http://jira.ow2.org/browse/JONAS-85'>JONAS-85) - No more able to build JOnAS with a empty local maven repository (org.apache.woden:woden:jar:1.0-incubating-M7b, biz.aQute:bnd:jar:0.0.281 no more availables)
- (http://jira.ow2.org/browse/JONAS-86'>JONAS-86) - JOnAS does not start when activating security manager ...
- (http://jira.ow2.org/browse/JONAS-87'>JONAS-87) - Fix issue on changing load balancing stragey/policy.
- (http://jira.ow2.org/browse/JONAS-88'>JONAS-88) - bad count of used transacted connections in RA-jdbc
- (http://jira.ow2.org/browse/JONAS-97'>JONAS-97) - setenv doesn't allow another starting command besides JAVA
- (http://jira.ow2.org/browse/JONAS-110'>JONAS-110) - Error when starting the micro JOnAS
- (http://jira.ow2.org/browse/JONAS-112'>JONAS-112) - NPE when setting the lmi protocol
- (http://jira.ow2.org/browse/JONAS-118'>JONAS-118) - On Windows NT, JAVA_OPTS is passed to the 'jonas stop' command
- (http://jira.ow2.org/browse/JONAS-120'>JONAS-120) - with dbm, if database blocks when closing a connection, we can get a deadlock
- (http://jira.ow2.org/browse/JONAS-122'>JONAS-122) - Problem with Resource Adapter's classloader.
- (http://jira.ow2.org/browse/JONAS-123'>JONAS-123) - fruitless method call when transaction is rollback
- (http://jira.ow2.org/browse/JONAS-127'>JONAS-127) - XML schema URLs in jonas-web.xml files is incorrect
- (http://jira.ow2.org/browse/JONAS-131'>JONAS-131) - When exposing WebServices with OnDemand feature enabled, the specified URL is "wrong" ...
- (http://jira.ow2.org/browse/JONAS-133'>JONAS-133) - ResourceException incorrectly implemented
- (http://jira.ow2.org/browse/JONAS-141'>JONAS-141) - jonasAdmin - "Deployable" and "Deployed" wrong display for ears, jars and rars elements
- (http://jira.ow2.org/browse/JONAS-146'>JONAS-146) - The Jms ant task doesn't configure the Joram RAR
- (http://jira.ow2.org/browse/JONAS-147'>JONAS-147) - Disable webapp direct access to system ClassLoader
- (http://jira.ow2.org/browse/JONAS-150'>JONAS-150) - µJOnAS usually fails to start...
- (http://jira.ow2.org/browse/JONAS-153'>JONAS-153) - No support for JPA 2.0 in jclient
- (http://jira.ow2.org/browse/JONAS-156'>JONAS-156) - Not only master node could return its connection URL.
- (http://jira.ow2.org/browse/JONAS-157'>JONAS-157) - Hide Stax packages APIs when runnig in Java 6
- (http://jira.ow2.org/browse/JONAS-161'>JONAS-161) - Errors in Jonas 5 Configuration Guide, Chap 2.7 "Configuring JMS Resource Adapters"
- (http://jira.ow2.org/browse/JONAS-162'>JONAS-162) - Newjb fails when used with Ant 1.8.0
- (http://jira.ow2.org/browse/JONAS-163'>JONAS-163) - ManagementException: Error getting attribute: fileName on jonas
Improvement
- (http://jira.ow2.org/browse/JONAS-2'>JONAS-2) - The example 'java5-earsample' depends on the mail service but it is not specified.
- (http://jira.ow2.org/browse/JONAS-6'>JONAS-6) - Upgrade to JAX-WS 2.1
- (http://jira.ow2.org/browse/JONAS-7'>JONAS-7) - Expose the HTTP container as an OSGi HTTPService
- (http://jira.ow2.org/browse/JONAS-8'>JONAS-8) - Use the standard Spring bundle
- (http://jira.ow2.org/browse/JONAS-12'>JONAS-12) - Not understandable error when injecting a reference into a non static property in a JEE client app.
- (http://jira.ow2.org/browse/JONAS-14'>JONAS-14) - jonasAdmin console - Additional deploy directories
- (http://jira.ow2.org/browse/JONAS-15'>JONAS-15) - J2EEServer.sendFile renames too much
- (http://jira.ow2.org/browse/JONAS-29'>JONAS-29) - Improve MBean support for JOnAS security realms
- (http://jira.ow2.org/browse/JONAS-30'>JONAS-30) - JonasAdmin, security realms management: allow calling 'clearCache()' for memory realms
- (http://jira.ow2.org/browse/JONAS-31'>JONAS-31) - Configuration guide : specify that MD5 digest passwords are Base64 encoded. Explain how to generate them.
- (http://jira.ow2.org/browse/JONAS-42'>JONAS-42) - Allow properties management for clustered objects.
- (http://jira.ow2.org/browse/JONAS-44'>JONAS-44) - Clustering examples must be cleaned and improved.
- (http://jira.ow2.org/browse/JONAS-57'>JONAS-57) - When using the versioning service with webapp (JSF/JSP), versionned URL's are displayed in the browser. Should not.
- (http://jira.ow2.org/browse/JONAS-66'>JONAS-66) - Jk cluster factory should log debug message when cluster creation fails.
- (http://jira.ow2.org/browse/JONAS-67'>JONAS-67) - Newjc should copy worker files into the configuration directory of web instances.
- (http://jira.ow2.org/browse/JONAS-91'>JONAS-91) - Add a log trace when an EAR is being deployed
- (http://jira.ow2.org/browse/JONAS-117'>JONAS-117) - Several JPA providers should be available at runtime
- (http://jira.ow2.org/browse/JONAS-124'>JONAS-124) - Allows to use JPA 2.0
- (http://jira.ow2.org/browse/JONAS-125'>JONAS-125) - Allows to install bundle that are installed before any "bundles" on the platform
- (http://jira.ow2.org/browse/JONAS-129'>JONAS-129) - Make it easier to change OSGi framework properties
New Feature
- (http://jira.ow2.org/browse/JONAS-1'>JONAS-1) - JonasAdmin : add rarLink info to the RAR's management page.
- (http://jira.ow2.org/browse/JONAS-4'>JONAS-4) - Add support for a local protocol
- (http://jira.ow2.org/browse/JONAS-17'>JONAS-17) - JOnAS launcher class should provide access to the inner Felix Object
- (http://jira.ow2.org/browse/JONAS-134'>JONAS-134) - Adds an audit service
- (http://jira.ow2.org/browse/JONAS-149'>JONAS-149) - Add audit Flex module on the jonasAdmin console
- (http://jira.ow2.org/browse/JONAS-160'>JONAS-160) - Work directory path of JOnAS should be configurable
Task
- (http://jira.ow2.org/browse/JONAS-13'>JONAS-13) - Update EasyBeans component to 1.2.0 M1 version
- (http://jira.ow2.org/browse/JONAS-20'>JONAS-20) - Use the official OSGi API in place of this defines in the Felix project.
- (http://jira.ow2.org/browse/JONAS-58'>JONAS-58) - Update versions of Apache Felix components
- (http://jira.ow2.org/browse/JONAS-92'>JONAS-92) - Use CMI 2.2.3
- (http://jira.ow2.org/browse/JONAS-93'>JONAS-93) - Upgrade OW2 bundles to 1.0.19
- (http://jira.ow2.org/browse/JONAS-119'>JONAS-119) - Add uptime information to JOnAS mbean
- (http://jira.ow2.org/browse/JONAS-128'>JONAS-128) - Provides CDI (JSR 299) Integration
- (http://jira.ow2.org/browse/JONAS-130'>JONAS-130) - Update Jetty server to 6.1.22
- (http://jira.ow2.org/browse/JONAS-148'>JONAS-148) - Rework launching system to ease personalization
- (http://jira.ow2.org/browse/JONAS-155'>JONAS-155) - Update Tomcat version to 6.0.26
See also the releases notes of companions projects included in this release: