[hibernate-commits] Hibernate SVN: r17673 - in sandbox/trunk/lobtest-ee5: lobtest-web/src/main/webapp and 1 other directory.
hibernate-commits at lists.jboss.org
hibernate-commits at lists.jboss.org
Fri Oct 9 01:07:28 EDT 2009
Author: dstephan
Date: 2009-10-09 01:07:28 -0400 (Fri, 09 Oct 2009)
New Revision: 17673
Modified:
sandbox/trunk/lobtest-ee5/lobtest-ear/src/main/application/META-INF/application.xml
sandbox/trunk/lobtest-ee5/lobtest-web/src/main/webapp/basic.jsp
sandbox/trunk/lobtest-ee5/lobtest-web/src/main/webapp/lob.jsp
Log:
Modified to run on EAP 4.3
Modified: sandbox/trunk/lobtest-ee5/lobtest-ear/src/main/application/META-INF/application.xml
===================================================================
--- sandbox/trunk/lobtest-ee5/lobtest-ear/src/main/application/META-INF/application.xml 2009-10-09 03:56:07 UTC (rev 17672)
+++ sandbox/trunk/lobtest-ee5/lobtest-ear/src/main/application/META-INF/application.xml 2009-10-09 05:07:28 UTC (rev 17673)
@@ -7,7 +7,7 @@
</module>
<module id="WebModule_1255048702585">
<web>
- <web-uri>lobtest-web-1.0-SNAPSHOT.war</web-uri>
+ <web-uri>lobtest-web.war</web-uri>
<context-root>lobtest-web</context-root>
</web>
</module>
Modified: sandbox/trunk/lobtest-ee5/lobtest-web/src/main/webapp/basic.jsp
===================================================================
--- sandbox/trunk/lobtest-ee5/lobtest-web/src/main/webapp/basic.jsp 2009-10-09 03:56:07 UTC (rev 17672)
+++ sandbox/trunk/lobtest-ee5/lobtest-web/src/main/webapp/basic.jsp 2009-10-09 05:07:28 UTC (rev 17673)
@@ -2,7 +2,7 @@
<%@page import="com.redhat.gss.lobtest.ejb.ThingService"%>
<%
InitialContext ctx = new InitialContext();
- ThingService ts = (ThingService) ctx.lookup("lobtest-ear/ThingServiceBean/local");
+ ThingService ts = (ThingService) ctx.lookup("lobtest/ThingServiceBean/local");
ts.setUp();
out.print("Tests set up.</br>");
ts.findAllThingsHibernate();
Modified: sandbox/trunk/lobtest-ee5/lobtest-web/src/main/webapp/lob.jsp
===================================================================
--- sandbox/trunk/lobtest-ee5/lobtest-web/src/main/webapp/lob.jsp 2009-10-09 03:56:07 UTC (rev 17672)
+++ sandbox/trunk/lobtest-ee5/lobtest-web/src/main/webapp/lob.jsp 2009-10-09 05:07:28 UTC (rev 17673)
@@ -2,7 +2,7 @@
<%@page import="com.redhat.gss.lobtest.ejb.LobTestService"%>
<%
InitialContext ctx = new InitialContext();
- LobTestService lts = (LobTestService) ctx.lookup("lobtest-ear/LobTestServiceBean/local");
+ LobTestService lts = (LobTestService) ctx.lookup("lobtest/LobTestServiceBean/local");
lts.runTests();
%>
Tests run successfully.
\ No newline at end of file
More information about the hibernate-commits
mailing list