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.

阅读更多
个人分类: 学习日记
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

不良信息举报

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

最多只允许输入30个字

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭