glassfish3 install,dwr3+struts2 deploy error handling
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:javajdk1.6.0_17jre/..
glassfishconfigasenv.bat
set JAVA_HOME=C:javajdk1.6.0_17
set path=%JAVA_HOME%bin;%path%
java -version
asadmin start-domain domain1
4. exception handling
dwr2+Struts2 can't deploy on glassfish3 linux
(1) dwr exception: session error
resolve method:
change dwr2 to dwr3
no need parameter in web.xml:crossDomainSessionSecurity
(2)struts can't load configration file. java.util.zip.ZipException: error reading zip file
<!-- For Struts debugging console -->
change action name to page name in decorators.xml
[@more@]來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/106285/viewspace-1059503/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- MySQL MMM Install DeployMySql
- [Bash] Error handlingError
- maven打包 package install deploy區別MavenPackage
- RxJava Error Handling OperatorsRxJavaError
- Handling Error ConditionsError
- Install Error : ERROR:SQLException null Resultset [ID 875002.1]ErrorSQLExceptionNull
- Fatal Error: TXK Install Service,Cannot install Oracle Database HomeErrorOracleDatabase
- error in invoking target install of makefileError
- pip install scrapy報錯:error: UnableError
- error C2713: Only one form of exception handling permitted per functionErrorORMExceptionMITFunction
- linuxmint apt-get install error:Depends...?Linuxapt-getError
- Exception String: Error in invoking target install of makefileExceptionError
- deploy service on swarmSwarm
- kubectl get deploy
- 【譯】 WebSocket 協議第八章——錯誤處理(Error Handling)Web協議Error
- Error in invoking target “install” of makefile 'ins_ctx.mk'Error
- UBUNTU安裝kaldi遇到關於not install OpenFst errorUbuntuNFSError
- rake deploy ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to解決方法ASTForwardErrorAI
- Github deploy key使用Github
- deploy-your-site
- R12.2.0 post install checks error : RW-50016: Error: - {0} was not created - 1Error
- R12.2.0 post install checks error : RW-50016: Error: - {0} was not created - 2Error
- R12.2.0 post install checks error : RW-50016: Error: - {0} was not created - 3Error
- Cookie Handling in WinHTTPCookieHTTP
- error: install: %pre scriptlet failed (2), skipping cvuqdisk-1.0.9-1ErrorAI
- maven install 時報 COMPILATION ERROR 軟體包不存在MavenError
- Deploy Google BBR on CentOS 7GoCentOS
- Maven Deploy 簡單操作Maven
- Deploy an Oracle include oraInventoryOracleAI
- deploy package outside of jbossPackageIDE
- Hexo deploy git permission deniedHexoGit
- windows終端輸入pip install requests報錯:Fatal error in launcherWindowsError
- Error in invoking target install of makefile plsql/lib/ins_plsql.mkErrorSQL
- mvn deploy命令上傳包
- harbor+k8s deployK8S
- yarn install 遇到的錯誤訊息 - Error EPERM operation not permitted, open .yarnrcYarnErrorMIT
- 升級pip報錯ERROR: Could not install packages due to an OSError: [WinError 5]ErrorPackage
- Multi-path handling for asmASM