tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoff Callender (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAP5-1912) Official support for Jboss as 7.x
Date Wed, 30 May 2012 12:10:23 GMT

    [ https://issues.apache.org/jira/browse/TAP5-1912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13285607#comment-13285607

Geoff Callender commented on TAP5-1912:

You can detect you're in JBoss 7, e.g.

		try {
			return EJBProviderEnum.JBOSS_7_LOCAL;
		catch (Exception e) {

or earlier, e.g.

		try {
			return EJBProviderEnum.JBOSS_PRE_7_LOCAL;
		catch (Exception e) {

but detecting the version is trickier. A lot of people are still on JBoss 5, 6.0, and 6.1,
and they use 3 different URL schemes.

A simpler solution might be for Tapestry to adjust its behaviour according to a system property,
say  tapestry.server-type, with values jboss-5, jboss-6.0, jboss-6.1, jboss-7.1, and a default
of null?

> Official support for Jboss as 7.x
> ---------------------------------
>                 Key: TAP5-1912
>                 URL: https://issues.apache.org/jira/browse/TAP5-1912
>             Project: Tapestry 5
>          Issue Type: Improvement
>    Affects Versions: 5.3.2
>            Reporter: Magnus Kvalheim
>              Labels: as7, jboss, tapestry5
> We are considering as7 as new production env, but tapestry don't like it...
> I would expect tapestry to support a major player like redhat/jboss 'out of the box'.
> I tried: http://wiki.apache.org/tapestry/HowToRunTapestry5OnJBoss6Dot1 and it works fine.
> However - I would sleep better if it was included in core or as an official tapestry
> Can we provide first class support for jboss?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message