You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Magnus Kvalheim (JIRA)" <ji...@apache.org> on 2012/04/22 00:20:33 UTC

[jira] [Created] (TAP5-1912) Official support for Jboss as 7.x

Magnus Kvalheim created TAP5-1912:
-------------------------------------

             Summary: 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


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 module...

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

        

[jira] [Commented] (TAP5-1912) Official support for Jboss as 7.x

Posted by "Magnus Kvalheim (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13285477#comment-13285477 ] 

Magnus Kvalheim commented on TAP5-1912:
---------------------------------------

Forum discussion on the subject as well
http://tapestry.1045711.n5.nabble.com/Official-jboss-support-td5713435.html
                
> 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 module...
> 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

        

[jira] [Commented] (TAP5-1912) Official support for Jboss as 7.x

Posted by "Geoff Callender (JIRA)" <ji...@apache.org>.
    [ 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 {
			Class.forName("org.jboss.modules.Main");
			return EJBProviderEnum.JBOSS_7_LOCAL;
		}
		catch (Exception e) {
		}

or earlier, e.g.

		try {
			Class.forName("org.jboss.Main");
			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 module...
> 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

        

[jira] [Commented] (TAP5-1912) Official support for Jboss as 7.x

Posted by "Magnus Kvalheim (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13285477#comment-13285477 ] 

Magnus Kvalheim commented on TAP5-1912:
---------------------------------------

Forum discussion on the subject as well
http://tapestry.1045711.n5.nabble.com/Official-jboss-support-td5713435.html
                
> 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 module...
> 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

        

[jira] [Commented] (TAP5-1912) Official support for Jboss as 7.x

Posted by "Geoff Callender (JIRA)" <ji...@apache.org>.
    [ 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 {
			Class.forName("org.jboss.modules.Main");
			return EJBProviderEnum.JBOSS_7_LOCAL;
		}
		catch (Exception e) {
		}

or earlier, e.g.

		try {
			Class.forName("org.jboss.Main");
			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 module...
> 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