Overview |
This sample demonstrates how to invoke EJB of weblogic server in your ASP file. ________________________________________________________________________________________
How to run this sample (WebLogic 4.5.0)
weblogic.ejb.deploy=d:/weblogic/classes/ejb_basic_statefulSession.jar weblogic.jdbc.connectionPool.ejbPool=\ url=jdbc:cloudscape:ejbdemo,\ driver=COM.cloudscape.core.JDBCDriver,\ initialCapacity=1,\ maxCapacity=2,\ capacityIncrement=1,\ props=user=none;password=none;server=none weblogic.allow.reserve.weblogic.jdbc.connectionPool.ejbPool=guest
weblogic.java.naming.factory.initial = weblogic.jndi.WLInitialContextFactory weblogic.java.naming.provider.url = t3://<hostname>:7001
5. Restart weblogic server;
6. Add the following line to the classpath in d:\iasp\start-server.bat file
d:\weblogic\classes;d:\weblogic\lib\unpacked_jar\javax_jts.zip;d:\weblogic\lib\unpacked_jars\javax_ejb.zip;d:\weblogic\lib\unpacked_jars\jndi.jar;d:\weblogic\lib\unpacked_jars\collections.zip;d:\weblogic\classes\statefulSession.jar
7. Start iASP server by executing start-server.bat, and then choose the script language you prefer from the top drop-down menu and click Run Sample button run the session.asp.
If you require technical support please send complete details about the problem you are having to support@halcyonsoft.com.
Copyright ?1998-2000, Halcyon Software Inc. All rights reserved.