1、安装和配置消息服务和数据库资源
在petstore.home目录下运行setup.bat,注意,不是setup,要加后缀.bat,因为还有一个setup.sh,setup.xml
2、启动 Cloudscape:
C:/j2sdkee1.3.1/bin/cloudscape -start
3、启动 J2EE 服务器:
C:/j2sdkee1.3.1/bin/j2ee -verbose
4、接下来完成“安装和配置消息服务和数据库资源”
5、运行安装脚本来部署应用程序
setup.bat deploy
6、运行
http://localhost:8000/admin/index.html
修改C:/j2sdkee1.3.1/lib/security/server.policy,添加下面行,
// petstore test
grant {
permission java.io.FilePermission "${com.sun.enterprise.home}${/}lib${/}endorsed${/}xalan.jar", "read";
};
7、运行E:/study/petstore1.3.1_01/src下面的build.bat,编译四个模块
8、部署 setup.bat deploy
在petstore.home目录下运行setup.bat,注意,不是setup,要加后缀.bat,因为还有一个setup.sh,setup.xml
2、启动 Cloudscape:
C:/j2sdkee1.3.1/bin/cloudscape -start
3、启动 J2EE 服务器:
C:/j2sdkee1.3.1/bin/j2ee -verbose
4、接下来完成“安装和配置消息服务和数据库资源”
5、运行安装脚本来部署应用程序
setup.bat deploy
6、运行
http://localhost:8000/admin/index.html
修改C:/j2sdkee1.3.1/lib/security/server.policy,添加下面行,
// petstore test
grant {
permission java.io.FilePermission "${com.sun.enterprise.home}${/}lib${/}endorsed${/}xalan.jar", "read";
};
7、运行E:/study/petstore1.3.1_01/src下面的build.bat,编译四个模块
8、部署 setup.bat deploy