Discussion:
JOnAS 5.3.0 Milestone 4 released
Florent BENOIT
2011-09-12 12:32:37 UTC
Permalink
Hi JOnAS users,

We're very pleased to announce the general availability of a new
milestone of JOnAS 5.3 : 5.3.0 M4
<http://wiki.jonas.ow2.org/xwiki/bin/view/News/JOnAS_5_3_0_M4>.

New features in this release:
- Ability to configure your OSGi framework (by default, Felix is
provided but this can be changed by replacing the jar file in
JONAS_ROOT/lib/bootstrap/framework)
- For deployment plan, secured repositories can be used and properties
can be included. for example ${jonas.base}/myrepository will be replaced
by the value of ${jonas.base}system property.
- Ability to set the inital order of deployables for the depmonitor
service in JONAS_BASE/conf/jonas.properties file.
- A lot of components have been upgraded, look at the JIRA issues

There are also plenty of bug fixes and components upgrades : #54 issues
closed !

Two profiles for JOnAS 5.3.0 M4 are available for download
<http://forge.ow2.org/project/showfiles.php?group_id=5&release_id=4653>:

* JOnAS Full-profile which is a full-blown Java EE Application Server
: ( Java Web Start Installer
<http://download.forge.objectweb.org/jonas/jonas-full-5.3.0-M4-installer.jnlp>
/ Java Offline Installer
<http://download.forge.objectweb.org/jonas/jonas-full-5.3.0-M4-installer.jar>
/ Zip
<http://download.forge.objectweb.org/jonas/jonas-full-5.3.0-M4-bin.zip>
/ Tgz
<http://download.forge.objectweb.org/jonas/jonas-full-5.3.0-M4-bin.tar.gz>
)
* JOnAS Micro-profile which is a small bootstrap for JOnAS that will
download services on demand (An internet connection is required):
(Zip
<http://download.forge.objectweb.org/jonas/micro-jonas-5.3.0-M4-bin.zip>
/ Tgz
<http://download.forge.objectweb.org/jonas/micro-jonas-5.3.0-M4-bin.tar.gz>)


If JOnAS ANT tasks are used, note that new modular ANT tasks are now
provided so that there are only ANT tasks for the services included in
the assembly.
People may still use now deprecated ANT tasks by using the library
JONAS_ROOT/lib/common/ow_jonas_ant_deprecated.jar

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

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

/_Issues fixed for JOnAS 5.3.0 M4_/


Bug

* (JONAS-69 <http://jira.ow2.org/browse/JONAS-69>) - If a file
deployment fails at the server start-up, the deployment process
fails.
* (JONAS-94 <http://jira.ow2.org/browse/JONAS-94>) - Cannot deploy
an war after an error due to a failing previous deployement
* (JONAS-164 <http://jira.ow2.org/browse/JONAS-164>) - Build
process problem with modules/itests/osgi/felix : the created
'felix-cache' directory is not removed in the 'clean' goal
* (JONAS-165 <http://jira.ow2.org/browse/JONAS-165>) - DataSource
jdbc.pstmtmax>0 causes java.sql.SQLException: Ensemble de
résultats épuisé
* (JONAS-179 <http://jira.ow2.org/browse/JONAS-179>) - Properties
for multicast implementation in Jonas.properties file
* (JONAS-262 <http://jira.ow2.org/browse/JONAS-262>) - Wrong
principal in stateless EJB
* (JONAS-264 <http://jira.ow2.org/browse/JONAS-264>) - No acess to
jonasAdmin and own web sites when using Jonas 5.1.2 + Jetty with
onDemand=true
* (JONAS-379 <http://jira.ow2.org/browse/JONAS-379>) - Wrong
Deployment Order - WARs should be deployed after all EARs are
deployed because of dependencies of WAR to EJB's in EAR
* (JONAS-401 <http://jira.ow2.org/browse/JONAS-401>) - JOnAS
attempts to uninstall a module twice
* (JONAS-406 <http://jira.ow2.org/browse/JONAS-406>) - When
stopping JOnAS after using JOnAS Builder in the admin console,
get an NotSerializableException
* (JONAS-410 <http://jira.ow2.org/browse/JONAS-410>) - JOnAS
5.3-M1 generates wrong WebService endpoint / WSDL
* (JONAS-415 <http://jira.ow2.org/browse/JONAS-415>) - Felix cache
not cleaned after Jonas process' kill
* (JONAS-416 <http://jira.ow2.org/browse/JONAS-416>) - Unable to
deploy rar JDBC with the embedded driver
* (JONAS-420 <http://jira.ow2.org/browse/JONAS-420>) - Migrate
tests to use H2 database (instead of HSQLDB)
* (JONAS-433 <http://jira.ow2.org/browse/JONAS-433>) - JOTM
intercepts a runtime exception thrown by Hibernate and rollback
the transaction but the hibernate exception is not used to log
the stack trace.
* (JONAS-436 <http://jira.ow2.org/browse/JONAS-436>) - JSF-RI
(Mojarra) classes filtering prevents WAR file from been deployed
* (JONAS-446 <http://jira.ow2.org/browse/JONAS-446>) - The JOnAS
ANT tasks cannot change HTTP port of Tomcat 7.x container
* (JONAS-448 <http://jira.ow2.org/browse/JONAS-448>) - Using * as
filter in the ClassLoader Monitoring module causes an
OutOfMemoryError
* (JONAS-459 <http://jira.ow2.org/browse/JONAS-459>) - DataSource
Deployer only undeploy the last <datasource> definition
* (JONAS-460 <http://jira.ow2.org/browse/JONAS-460>) -
org.objectweb.asm not exported by asm bundle
* (JONAS-464 <http://jira.ow2.org/browse/JONAS-464>) - Xml
deployable file startup exception
* (JONAS-465 <http://jira.ow2.org/browse/JONAS-465>) - No
jsf-myfaces20 bundle in repositories/url-internal/
* (JONAS-467 <http://jira.ow2.org/browse/JONAS-467>) - HttpService
stop issue
* (JONAS-470 <http://jira.ow2.org/browse/JONAS-470>) - A (Java EE
ejb / OSGi) hybrid bundle is deployed as a simple ejb archive if
it contains an ejb-jar.xml descriptor
* (JONAS-501 <http://jira.ow2.org/browse/JONAS-501>) - Upgrade
JGroups to 2.12 version
* (JONAS-503 <http://jira.ow2.org/browse/JONAS-503>) - The iTests
:: OSGi :: Felix tests fail because JOnAS is stopped too soon
* (JONAS-507 <http://jira.ow2.org/browse/JONAS-507>) - Logs may
contains "3" in the log file name
* (JONAS-510 <http://jira.ow2.org/browse/JONAS-510>) - Wrong
conteststmt for H2
* (JONAS-527 <http://jira.ow2.org/browse/JONAS-527>) - Incorrect
Apache commons modeler version exported by management javaee


Improvement


* (JONAS-177 <http://jira.ow2.org/browse/JONAS-177>) - Useless
stacktrace when updating a bundle directly uninstalled with OSGi
tui.
* (JONAS-440 <http://jira.ow2.org/browse/JONAS-440>) - (H2 db
service) Allow (or not) remote connections to the H2 DB server
created by the db service
* (JONAS-444 <http://jira.ow2.org/browse/JONAS-444>) -
initial-repositories.xml and property substitution
* (JONAS-456 <http://jira.ow2.org/browse/JONAS-456>) - Missing
Exception details in ManagedConnectionFactoryImpl
* (JONAS-457 <http://jira.ow2.org/browse/JONAS-457>) - Move
documentation du Docbook 5.0
* (JONAS-506 <http://jira.ow2.org/browse/JONAS-506>) - Ability to
set the order of deployables for Depmonitor service
* (JONAS-511 <http://jira.ow2.org/browse/JONAS-511>) - Update H2
version to 1.3.159


New Feature

* (JONAS-183 <http://jira.ow2.org/browse/JONAS-183>) - Add ability
to use deployment-plan on secured repositories
* (JONAS-449 <http://jira.ow2.org/browse/JONAS-449>) - Expose the
Cluster Daemon module as an OSGi module
* (JONAS-509 <http://jira.ow2.org/browse/JONAS-509>) - Allows to
easily change the OSGi framework


Task

* (JONAS-195 <http://jira.ow2.org/browse/JONAS-195>) - Update the
JacORB version
* (JONAS-455 <http://jira.ow2.org/browse/JONAS-455>) - Provides
Classloading documentation
* (JONAS-461 <http://jira.ow2.org/browse/JONAS-461>) - Update
Apache Tomcat to 7.0.16
* (JONAS-512 <http://jira.ow2.org/browse/JONAS-512>) - Update
Apache Felix Framework to 3.2.2
* (JONAS-513 <http://jira.ow2.org/browse/JONAS-513>) - Update
BundleRepository to 1.6.6
* (JONAS-514 <http://jira.ow2.org/browse/JONAS-514>) - Update JSF
RI to 2.0.6
* (JONAS-515 <http://jira.ow2.org/browse/JONAS-515>) - Update
TestNG to 6.1.1
* (JONAS-516 <http://jira.ow2.org/browse/JONAS-516>) - Update
maven bundle plugin to 2.3.5
* (JONAS-517 <http://jira.ow2.org/browse/JONAS-517>) - Update
Tomcat to 7.0.20
* (JONAS-523 <http://jira.ow2.org/browse/JONAS-523>) - Ignore scan
of jars for annotation processing in Tomcat7
* (JONAS-528 <http://jira.ow2.org/browse/JONAS-528>) - Update OW2
Util to 1.0.32
* (JONAS-529 <http://jira.ow2.org/browse/JONAS-529>) - Update OW2
Bundles to 1.0.30
* (JONAS-530 <http://jira.ow2.org/browse/JONAS-530>) - Update Cmi
to 2.2.6
* (JONAS-531 <http://jira.ow2.org/browse/JONAS-531>) - Update
JOnAS documentation to 5.3.0 M4
* (JONAS-534 <http://jira.ow2.org/browse/JONAS-534>) - Update OW2
EasyBeans to 1.2.2


Questions

* (JONAS-504 <http://jira.ow2.org/browse/JONAS-504>) - Class from
rt.jar library provided by JRE not found

Best Regards,

Florent
Celinio Fernandes
2011-09-13 13:45:13 UTC
Permalink
Hi,
I am trying to inject some Spring managed beans in some classes using the @Resource annotation, that is part of the JSR-250.

    @Resource
    ManageTrace manageTraceApplication;

In my Spring XML file, I have definied the managed bean :

    <bean id="manageTraceApplication"
        class="com.aa.bb.cc.application.impl.ManageTraceImpl"
        scope="singleton" />

I keep getting the following error :
org.ow2.jonas.deployment.web.WebContainerDeploymentDescException: jonas-resource missing for res-ref-name com.aa.bb.cc.presentation.server.ManageDemandeDelegate/manageTraceApplication: jonas-resource missing for res-ref-name com.aa.bb.cc.presentation.server.ManageDemandeDelegate/manageTraceApplication

It's like it's looking for an environment variable manageTraceApplication in the JNDI registry.

Do i need to modify something in Jonas to avoid that ?
Any clue ?

Thanks for helping.
Celinio Fernandes
2011-09-13 20:11:31 UTC
Permalink
Hi,
I am trying to inject some Spring managed beans in some classes using the @Resource annotation, that is part of the JSR-250.

    @Resource
    ManageTrace manageTraceApplication;

In my Spring XML file, I have definied the managed bean :

    <bean id="manageTraceApplication"
        class="com.aa.bb.cc.application.impl.ManageTraceImpl"
        scope="singleton" />

I keep getting the following error :
org.ow2.jonas.deployment.web.WebContainerDeploymentDescException: jonas-resource missing for res-ref-name com.aa.bb.cc.presentation.server.ManageDemandeDelegate/manageTraceApplication: jonas-resource missing for res-ref-name com.aa.bb.cc.presentation.server.ManageDemandeDelegate/manageTraceApplication

It's like it's looking for an environment variable manageTraceApplication in the JNDI registry.

Do i need to modify something in Jonas to avoid that ?
Any clue ?

Thanks for helping.
Florent BENOIT
2011-09-14 14:10:47 UTC
Permalink
Hi,

@Resource annotation in JOnAS only injects Java EE managed resources.
(JMS, JDBC, etc)
Spring resources are not handled because this is not a Java EE managed
resource so it won't be injected.

If you need to inject external resources, you may use
@Resource(mappedName="....") with a link to the JNDI name where your
bean is available.
Or you could use @OSGiResource annotation in order to inject the OSGi
bundleContext (if your spring bean is also exposed as an OSGi service)

Regards,

Florent
Post by Celinio Fernandes
Hi,
I am trying to inject some Spring managed beans in some classes using
@Resource
ManageTrace manageTraceApplication;
<bean id="manageTraceApplication"
class="com.aa.bb.cc.application.impl.ManageTraceImpl"
scope="singleton" />
jonas-resource missing for res-ref-name
jonas-resource missing for res-ref-name
com.aa.bb.cc.presentation.server.ManageDemandeDelegate/manageTraceApplication
It's like it's looking for an environment variable
manageTraceApplication in the JNDI registry.
Do i need to modify something in Jonas to avoid that ?
Any clue ?
Thanks for helping.
Loading...