[
https://issues.apache.org/jira/browse/GERONIMO-6435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13583464#comment-13583464
]
David Jencks commented on GERONIMO-6435:
----------------------------------------
After some offline discussion I believe everyone involved agrees that the
correct action is to have geronimo use the system property to add the new
method interfaces and that the spec jar is just fine as is.
> Invalid method interface: MessageEndpoint
> --------------------------------------------
>
> Key: GERONIMO-6435
> URL: https://issues.apache.org/jira/browse/GERONIMO-6435
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: javaee6
> Affects Versions: 3.0-beta-1
> Environment: EJB
> Reporter: Hiroko Takamiya
> Priority: Minor
> Labels: newbie
>
> Our customer is getting following error ("Invalid method interface:
> MessageEndpoint") when running their EJB 3.1 beans.
> --Error message---------
> [12/18/12 15:13:08:638 CET] 00000030 SecurityColla 3 Authorization
> failed accessing EJB java.lang.IllegalArgumentException:
> Invalid method interface: MessageEndpoint
> at
> javax.security.jacc.EJBMethodPermission$MethodSpec.checkMethodInterface(
> EJBMethodPermission.java:303)
> at
> javax.security.jacc.EJBMethodPermission$MethodSpec.<init>(EJBMethodPermi
> ssion.java:183)
> ....
> ----------------------
> Fortunately, interface list is extensible by adding property org.apache.
> security.jacc.EJBMethodPermission.methodInterfaces to JVM. And this
> solution works, although it is quite dirty.
> Looking at EJB 3.1 spec below, "MessageEndpoint" is newly added interface.
> http://download.oracle.com/otndocs/jcp/ejb-3.1-mrel-full-oth-JSpec/
> I have looked at apache geronimo download page but no luck finding the
> interface in the latest downloads.
> --- details on what I looked for --
> http://geronimo.apache.org/downloads.html
>
> ..and clicked on the latest release available
> "Apache Geronimo v3.0.0 - Released July 13, 2012"
> (http://geronimo.apache.org/apache-geronimo-v300-release.html)
> ..and downloaded "Certified Java EE 6 Full Profile Releases"
> ...and looked into following class
> geronimo-tomcat7-javaee6-3.0.0\repository\org\apache\
> geronimo\specs\geronimo-jacc_1.4_spec\1.0\javax\security\
> jacc\EJBMethodPermission.class
> -------
> Please kindly look at adding this one interface to the file.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira