Installing and Configuring Sun's J2EE Reference Implementation (J2EE RI)

Downloaded from
http://java.sun.com/developer/onlineTraining/EJBIntro/exercises/SetupJ2EERI/


Prerequisites
None

1. Check your system requirements to make sure you have an adequate hardware and software platform for installing and running J2EE RI.

2. Ensure you have the Java 2 SDK version 1.2.2 or higher installed on your machine.

3. Download the J2EE RI server and documentation from Sun's J2EE download site.? The software distribution and the documentation site?site include installation instructions.

4. Run the installer for both the J2EE RIand the documentation.

5. Set the J2EE_HOME environment variable to point to the base directory where you installed the J2EE RI.

6. Put J2EE_HOME/bin into your PATH environment variable.

7. Start the Cloudscape database using the command-line command cloudscape -start.

8. Start the J2EE RI using the command-line command j2ee -verbose.

9. J2EE is now installed and running. Explore the J2EE Reference Implementation documentation within the documentation site?to familiarize yourself more with J2EE.

* To compile j2ee classes, you should also set the enviroment variables:
%CLASSPATH%;%J2EE_HOME%/lib/j2ee.jar

Running the J2EE RI using the command-line command j2ee -verbose should produce output similar to the following:
myhost> j2ee -verbose

Naming service started: :1050
Published the configuration object ...
Binding DataSource, name =
????????????? jdbc/Cloudscape,
??? url = jdbc:cloudscape:rmi:
????????? CloudscapeDB;create=true
Configuring web service using "default"
Web service started: :9191
Web service started: :7000
Configuring web service using "default"
Configuring web service using
? "file:/D:/j2sdkee1.2/public_html
??????????????????? /WEB-INF/web.xml"
Web service started: :8000
Endpoint [SSL:
? ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,
?????????????????????????? localport=7000]]
??? shutdown due to exception:
??? javax.net.ssl.SSLException:
??? No available certificate corresponds
??? to the SSL cipher suites which are enabled.
endpoint down: :7000
J2EE server startup complete.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值