当前位置: 首页 > 工具软件 > SailFin > 使用案例 >

Sailfin、Glassfish安装、使用指南

秋煌
2023-12-01

安装指南

1. Download one of the bundles
2. Run: java -Xmx256m -jar filename.jar
3. cd glassfish/sailfin
4. Run: ant -f setup.xml

For GlassFish V2 with Clustering supported installation, just change step 4 from the above installation

* ant -f setup-cluster.xml

快速指南

./asadmin help
./asadmin start-domain domain1
http://localhost:8080/

https://localhost:8181/

http://localhost:4848/
     admin/adminadmin 
http://localhost:8080/amserver/
      // Sun Java System Access Manager

amadmin/admin123 // SUNWappserver/domains/domain1/config/AMConfig.properties
./asadmin stop-domain domain1

应用部署

获得 hello.war http://docs.huihoo.com/java/ee/glassfish/hello.war

copy hello.war domains/domain1/autodeploy/ 
或 asadmin deploy hello.war
http://localhost:8080/hello

asadmin undeploy hello
 类似资料: