Installing the Demo This section describes how to install the Java Pet Store Demo. System Requirements Before installing the demo, you need to install the following softwares: 1. Java 2 SDK, Standard Edition (J2SETM SDK), v1.4.1 or higher : download here 2. Java 2 SDK, Enterprise Edition (J2EETM SDK), v1.3.1: download hereRequired Environment Variables You must also set the environment variables JAVA_HOME and J2EE_HOME as follows: JAVA_HOME must point to the root directory of your J2SE SDK installation. For example, if you installed the J2SE SDK in c:\j2sdk1.4.1 , then that path should be the value of JAVA_HOME. J2EE_HOME must point to the root directory of your J2EE SDK installation. For example, if you installed the J2EE SDK in /usr/local/java/j2sdkee1.3.1 , then that path should be the value of J2EE_HOME.Also, your PATH must include the directory %JAVA_HOME%\bin (Windows) or $JAVA_HOME/bin (Unix). Otherwise, some of the build tasks will not work. Installing the Demo Unzip the distribution bundle (petstore-1_3_2.zip) into any directory. A directory called petstore1.3.2 will be created. The rest of this documentation will refer to this directory as <petstore.home> . Run the setup script to install and configure message services and database resources. If you are using Unix, open a shell prompt and enter these commands: cd <petstore.home> sh setup.sh If you are using Windows, open a command prompt and enter these commands: cd <petstore.home> setup.bat Start Cloudscape. If you are using Unix, open a shell prompt and enter these commands: cd $J2EE_HOME/bin cloudscape -start If you are using Windows, open a command prompt and enter these commands: cd %J2EE_HOME%\bin cloudscape.bat -start Start the J2EE server. If you are using Unix, open a shell prompt and enter these commands: cd $J2EE_HOME/bin j2ee -verbose If you are using Windows, open a command prompt and enter these commands: cd %J2EE_HOME%\bin j2ee.bat -verbose Run the setup script to deploy the applications. If you are using Unix, open a shell prompt and enter these commands: cd <petstore.home> sh setup.sh deploy If you are using Windows, open a command prompt and enter these commands: cd <petstore.home> setup.bat deploy我按照说明文档下了1.3版本的安装就有你们说的那些东西,我照着它的说明一步一步地往下安装, 但到了 Start Cloudscape.这个步骤时候, 它在cmd里面就一直停止不前,卡在那里一个多小时都没反应.后来我以为那个j2eesdk版本低了,所以就下了一人版本高的.也就出现了上面的问题.你说的glassfish我安装netbeans时安装了都用过,一些基本概念也都知道.但我按照petstore的说明文档就是安装不成功.我也不知道什么原因.
This section describes how to install the Java Pet Store Demo.
System Requirements
Before installing the demo, you need to install the following softwares: 1. Java 2 SDK, Standard Edition (J2SETM SDK), v1.4.1 or higher : download here 2. Java 2 SDK, Enterprise Edition (J2EETM SDK), v1.3.1: download hereRequired Environment Variables
You must also set the environment variables JAVA_HOME and J2EE_HOME as follows: JAVA_HOME must point to the root directory of your J2SE SDK installation. For example, if you installed the J2SE SDK in c:\j2sdk1.4.1 , then that path should be the value of JAVA_HOME. J2EE_HOME must point to the root directory of your J2EE SDK installation. For example, if you installed the J2EE SDK in /usr/local/java/j2sdkee1.3.1 , then that path should be the value of J2EE_HOME.Also, your PATH must include the directory %JAVA_HOME%\bin (Windows) or $JAVA_HOME/bin (Unix). Otherwise, some of the build tasks will not work.
Installing the Demo Unzip the distribution bundle (petstore-1_3_2.zip) into any directory. A directory called petstore1.3.2 will be created. The rest of this documentation will refer to this directory as <petstore.home> . Run the setup script to install and configure message services and database resources. If you are using Unix, open a shell prompt and enter these commands: cd <petstore.home>
sh setup.sh If you are using Windows, open a command prompt and enter these commands: cd <petstore.home>
setup.bat Start Cloudscape. If you are using Unix, open a shell prompt and enter these commands: cd $J2EE_HOME/bin
cloudscape -start If you are using Windows, open a command prompt and enter these commands: cd %J2EE_HOME%\bin
cloudscape.bat -start Start the J2EE server. If you are using Unix, open a shell prompt and enter these commands: cd $J2EE_HOME/bin
j2ee -verbose If you are using Windows, open a command prompt and enter these commands: cd %J2EE_HOME%\bin
j2ee.bat -verbose Run the setup script to deploy the applications. If you are using Unix, open a shell prompt and enter these commands: cd <petstore.home>
sh setup.sh deploy If you are using Windows, open a command prompt and enter these commands: cd <petstore.home>
setup.bat deploy我按照说明文档下了1.3版本的安装就有你们说的那些东西,我照着它的说明一步一步地往下安装, 但到了 Start Cloudscape.这个步骤时候, 它在cmd里面就一直停止不前,卡在那里一个多小时都没反应.后来我以为那个j2eesdk版本低了,所以就下了一人版本高的.也就出现了上面的问题.你说的glassfish我安装netbeans时安装了都用过,一些基本概念也都知道.但我按照petstore的说明文档就是安装不成功.我也不知道什么原因.