Glassfish2.1.1 installation and deply tips
在eclipse+tomcat6 + Jdk1.6的環境下開發,然後用ant打包釋出在glassfish下,build.xml
http://zenzuguo.itpub.net/resource/4639/31874
0. set java_home and path in enviroment to jdk1.6, remove jdk1.5 from path
1. install glassfish-installer-v2.1.1-b31g-windows-ml.jar
2. java -Xmx256m -jar glassfish-installer-v2.1.1-b31g-windows-ml.jar
3. cd glassfish 4. ant -f setup.xml 0. should working in JDK1.6
1. add sun-web.xml
2. remove --asm-1.5.3.jar --asm-attrs-1.5.3.jar --cglib-2.1_3.jar --xercesImpl-2.6.2.jar --xml-apis-1.0.b2.jar
3. add bellow jars --asm-all-3.3.jar --backport-util-concurrent-2.2.jar --cglib-2.2.jar replace login.jsp
issue:
1. glassfish create more than 10G log files in few mins. check jre in bellow file. set it as: set AS_JAVA=C:jdk1.6.0_17jre/.. glassfishconfigasenv.bat set JAVA_HOME=C:jdk1.6.0_17 set path=%JAVA_HOME%bin;%path% java -version asadmin start-domain domain1
sun-web.xml
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/106285/viewspace-1058502/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- installation tips
- staging server, source congtrol, deply workflow using gitServerGit
- Post Installation for Databases Created after Installation of 10.2.0.4.4Database
- LDAP Server InstallationLDAServer
- Mysql MAC installationMySqlMac
- tips
- 2.3.3.2 Application InstallationAPP
- .NET Core installation for DockerDocker
- How to cleanup ASM installationASM
- NPM TipsNPM
- AutoLayout Tips
- Tips HTMLHTML
- 前端 - tips前端
- Swift TipsSwift
- NumPy Tips
- Git TipsGit
- note tips
- hector tips
- PB Tips
- Tips for SD
- interview tipsView
- Mysql tipsMySql
- SAP Tips
- English Tips
- Docker TipsDocker
- ISPF tips
- Oracle 10g installationOracle 10g
- RHEL_PXE_Installation_ServerServer
- 雜項 tips
- Tips: EloquentModel
- Linux TipsLinux
- typescript + amd tipsTypeScript
- jQuery tips and tricksjQuery
- 《iOS Tips 一》iOS
- GoldenGate TipsGo
- SELinux tipsLinux
- gulp some tips
- Some tips of Barcelona