web 服務(wù)器
web 服務(wù)器
tomcat-6.0.18 log4j設(shè)置
摘要: 按照我寫的目錄結(jié)構(gòu)來放置。
下載地址:
http://www.apache.org/dist/tomcat/tomcat-6/v6.0.18/bin/extras/tomcat-juli.jar
http://www.apache.org/dist/tomcat/tomcat-6/v6.0.18/bin/extras/tomcat-juli-adapters.jar
tomcat6-------lib
| |--------tomcat-juli-adapters.jar
| |--------log4j.jar
| |--------log4j.properites
|
|----bin
|--------tomcat-juli.jar
閱讀全文
posted @
2010-01-14 18:10 冰是沒有未來的,因為它的永恒|
編輯
jetty 錯誤日志ava.lang.IllegalStateException: Form too large225854>200000 解決的辦法
摘要:
Jetty's default configuration has a limitation on POST data (200000 bytes)that
prevents Hudson from reading the Update Center data (available
plugins). Jetty gets an error like java.lang.IllegalStateException: Form too large. To resolve this, add something like this to jetty.xml:
Jetty 6:
在jetty.xml中設(shè)置該參數(shù)
org.mortbay.jetty.Request.maxFormContentSize
-1閱讀全文
posted @
2010-01-12 11:09 冰是沒有未來的,因為它的永恒|
編輯
glassfish中l(wèi)oad application順序問題
摘要: 解決的方案:部署在不同的domain中,并控制domain啟動的順序
例子:applications: RestaurantCenter (比mobile先load);mobile。
服務(wù)器: 內(nèi)網(wǎng)192.168.1.18上
glassfish的路徑:/opt/glassfish2.1
1.首先,創(chuàng)建兩個domain :domain1,domain2
創(chuàng)建domain1 :ant -f setup1.xml
posted @ 2009-06-16 15:23 冰是沒有未來的,因為它的永恒| 編輯
glassfish 已知問題和限制
摘要: 已知問題和限制
http://docs.sun.com/app/docs/doc/820-7430/knownissuessges?a=view
閱讀全文
posted @
2009-06-16 11:01 冰是沒有未來的,因為它的永恒|
編輯
升級后啟動域時,您會在日志中看到以下異常。(6774663)
摘要: 說明
可能會拋出以下異常:
#|2008-11-19T01:44:37.422+0530|SEVERE|sun-appserver9.1|org.apache.catalina.session.ManagerBase|_ThreadID=17;_ThreadName=pool-1-thread-3;_Req uestID=cc0ddf54-a42e-400a-9788-e30d79a25d88;|PWC2768: IOException while loading persisted sessions: java.io.InvalidClassException: org.apache .catalina.session.StandardSession; local class incompatible: stream classdesc serialVersionUID = 8647852380089530442, local class serialVersi onUID = -8515037662877107054 java.io.InvalidClas
閱讀全文
posted @
2009-06-16 11:00 冰是沒有未來的,因為它的永恒|
編輯
特定于 INTERNET EXPLORER 6.0/7.0 瀏覽器:導(dǎo)出負(fù)載平衡器配置文件會拋出錯誤 (6516068)
摘要: 說明
(僅 Internet Explorer 6 和 7)當(dāng)嘗試從 Internet Explorer 6 或 7 導(dǎo)出負(fù)載平衡器配置文件 (loadbalancer.xml) 時,瀏覽器會顯示錯誤消息,表示找不到 sun-loadbalancer_1_2.dtd DTD 文件。
解決方法
要保存此文件,請使用以下解決方法:
在 Internet Explorer 中,在“負(fù)載平衡器”頁上單擊“導(dǎo)出”。
將顯示“XML page cannot be displayed”消息。
單擊錯誤框,然后從 Internet Explorer 中選擇“文件”->“另存為”。
將 loadbalancer.xml 文件保存到所選目錄中。
閱讀全文
posted @
2009-06-16 10:53 冰是沒有未來的,因為它的永恒|
編輯
glassfish啟動 --java.rmi.server.ExportException
摘要: glassfish啟動的時候:
.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|UnknownException during st
artup. Disable quick startup by setting system property com.sun.enterprise.server.ss.ASQuickStartup to false
com.sun.appserv.server.ServerLifecycleException: java.rmi.server.ExportException: Port already in use: 0; nested exception is:
java.net.BindException: Can't assign requested address
at com.sun.enterprise.admin.server.core.channel.AdminChannel.createRMIChannel(
閱讀全文
posted @
2009-06-16 09:26 冰是沒有未來的,因為它的永恒|
編輯
glassfish linux 安裝
摘要: 1.下載- ref : https://glassfish.dev.java.net/downloads/v2.1-b60e.html
-
2.解壓下載的jar # java -Xmx256m -jar glassxxx.jar
3.復(fù)制到安裝的路徑下 copy th glassfish to /opt/glasfish2.1
# cd glassfish2.1
如果系統(tǒng)沒安裝ant # chmod -R +x lib/ant/bin
make sure tomcat is not running on 8080, I changed to run on 18080
4. 安裝 # lib/ant/bin/ant -f setup.xml
cannot move the dir after the above step.
ends results:
create.domain:
[exe
閱讀全文
posted @
2009-06-13 12:11 冰是沒有未來的,因為它的永恒|
編輯