This is an automated email from the ASF dual-hosted git repository. rzo1 pushed a commit to branch TOMEE-2324 in repository https://gitbox.apache.org/repos/asf/tomee.git
The following commit(s) were added to refs/heads/TOMEE-2324 by this push: new 6764400157 TOMEE-2324 - Remove CORBA 6764400157 is described below commit 6764400157c942db7525f19d9f1cee73bc1aacaf Author: Richard Zowalla <r...@apache.org> AuthorDate: Sat Sep 21 20:13:58 2024 +0200 TOMEE-2324 - Remove CORBA --- .../test/resources/org/apache/openejb/arquillian/tests/jsp/test.jsp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arquillian/arquillian-tomee-tests/arquillian-tomee-webprofile-tests/src/test/resources/org/apache/openejb/arquillian/tests/jsp/test.jsp b/arquillian/arquillian-tomee-tests/arquillian-tomee-webprofile-tests/src/test/resources/org/apache/openejb/arquillian/tests/jsp/test.jsp index 7ce61e3dbd..cc13297540 100644 --- a/arquillian/arquillian-tomee-tests/arquillian-tomee-webprofile-tests/src/test/resources/org/apache/openejb/arquillian/tests/jsp/test.jsp +++ b/arquillian/arquillian-tomee-tests/arquillian-tomee-webprofile-tests/src/test/resources/org/apache/openejb/arquillian/tests/jsp/test.jsp @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --%> -<%@ page import="javax.naming.InitialContext"%><%@ page import="java.util.Properties"%><%@ page import="javax.naming.Context"%><%@ page import="org.apache.openejb.arquillian.tests.jsp.DataBusinessHome"%><%@ page import="javax.rmi.PortableRemoteObject"%><%@ page import="org.apache.openejb.arquillian.tests.jsp.DataBusiness"%><%@ page import="org.apache.openejb.arquillian.tests.jsp.Data"%><%@ page contentType="text/plain;charset=UTF-8" language="java" %> +<%@ page import="javax.naming.InitialContext"%><%@ page import="java.util.Properties"%><%@ page import="javax.naming.Context"%><%@ page import="org.apache.openejb.arquillian.tests.jsp.DataBusinessHome"%><%@ page import="org.apache.openejb.arquillian.tests.jsp.DataBusiness"%><%@ page import="org.apache.openejb.arquillian.tests.jsp.Data"%><%@ page contentType="text/plain;charset=UTF-8" language="java" %> <% final Properties p = new Properties(); @@ -22,7 +22,7 @@ final InitialContext initialContext = new InitialContext(p); Object lookup = initialContext.lookup("java:comp/env/ejb/DataBusiness"); - DataBusinessHome home = (DataBusinessHome) PortableRemoteObject.narrow(lookup, DataBusinessHome.class); + DataBusinessHome home = (DataBusinessHome) lookup; final DataBusiness dataBusiness = home.create(); final Data data = new Data();