锘??xml version="1.0" encoding="utf-8" standalone="yes"?>粉嫩久久99精品久久久久久夜,男女污视频在线观看,中文字幕欧美日韩一区二区三区http://www.aygfsteel.com/yanzhou/category/12956.html鍠傞┈, 鍔堟煷, 鍛ㄦ父涓栫晫zh-cnTue, 27 Feb 2007 08:46:21 GMTTue, 27 Feb 2007 08:46:21 GMT60[ZZ] JBoss 鐨勪竴浜涢厤緗?绔彛,铏氭嫙鐩綍,铏氭嫙涓繪満,涓枃闂,鏁版嵁搴撹繛鎺? http://www.aygfsteel.com/yanzhou/archive/2006/09/13/69387.html鍛ㄦ父涓栫晫鍛ㄦ父涓栫晫Wed, 13 Sep 2006 07:32:00 GMThttp://www.aygfsteel.com/yanzhou/archive/2006/09/13/69387.htmlhttp://www.aygfsteel.com/yanzhou/comments/69387.htmlhttp://www.aygfsteel.com/yanzhou/archive/2006/09/13/69387.html#Feedback0http://www.aygfsteel.com/yanzhou/comments/commentRss/69387.htmlhttp://www.aygfsteel.com/yanzhou/services/trackbacks/69387.html1銆佽闂鍙i厤緗?br />緙栬緫%jboss-4.0.2%\server\default\deploy\jbossweb-tomcat55.sar\server.xml
灝?080鏀逛負(fù)浣犲笇鏈涜闂殑绔彛錛?888錛?br />聽聽聽 <!-- A HTTP/1.1 Connector on port 8080 -->
聽聽聽聽聽 <Connector port="8888" address="${jboss.bind.address}"
聽聽聽聽聽聽聽聽 maxThreads="250" strategy="ms" maxHttpHeaderSize="8192"
聽聽聽聽聽聽聽聽 emptySessionPath="true"
聽聽聽聽聽聽聽聽 enableLookups="false" redirectPort="8443" acceptCount="100"
聽聽聽聽聽聽聽聽 connectionTimeout="20000" disableUploadTimeout="true" URIEncoding="UTF-8"/>

2銆佽櫄鎷熺洰褰曢厤緗細(xì)
緙栬緫%jboss-4.0.2%\server\default\deploy\jbossweb-tomcat55.sar\server.xml
鍦?lt;/Host>涔嬪墠澧炲姞錛?br />聽<Context path="/test" docBase="F:\\test" debug="1" reloadable="true" override="true" crossContext="true"/>
聽鍏朵腑path 涓鴻櫄鎷熺洰褰曞悕錛宒ocBase涓虹‖鐩樿礬寰勶紙鍙負(fù)緇濆璺緞錛塺eloadable涓虹被鍙樻洿鏃舵槸鍚﹂噸鏂板姞杞?br />
3銆佽В鍐抽檮浠舵眽瀛楅棶棰橈細(xì)
a.緙栬緫
%jboss-4.0.2%\server\default\deploy\jbossweb-tomcat55.sar\server.xml
鍦–onnector 灞炴ф渶鍚庡鍔狅細(xì)URIEncoding="UTF-8"
聽<!-- A HTTP/1.1 Connector on port 8080 -->
聽 <Connector port="8888" address="$"
聽聽聽聽 maxThreads="250" strategy="ms" maxHttpHeaderSize="8192"
聽聽聽聽 emptySessionPath="true"
聽聽聽聽 enableLookups="false" redirectPort="8443" acceptCount="100"
聽聽聽聽 connectionTimeout="20000" disableUploadTimeout="true" URIEncoding="UTF-8"/>
b.欏甸潰澶勭悊
灝嗙敓鎴愮殑闄勪歡鍚嶇О榪涜緙栫爜杞崲錛?br /><%
String n2="Redhat9涓枃瀹樻柟鏂囨。.rar";
n2=java.net.URLEncoder.encode(n2,"UTF-8");
%>
<a href="Redhat9">http://192.168.1.112:8080/zlsf/<%=n2%>">Redhat9涓枃瀹樻柟鏂囨。</a>

4銆佽В鍐蟲眽瀛楅棶棰樸?br />鍦細(xì)欏圭洰/WEB-INFweb.xml涓鍔狅細(xì)
聽<filter>
聽<filter-name>Set Character Encoding</filter-name>
聽<filter-class>filters.SetCharacterEncodingFilter</filter-class>
聽<init-param>
聽<param-name>encoding</param-name>
聽<param-value>GBK</param-value>
聽</init-param>
聽</filter>
聽<filter-mapping>
聽<filter-name>Set Character Encoding</filter-name>
聽<url-pattern>/*</url-pattern>
聽</filter-mapping>
聽鍏朵腑
<param-value>GBK</param-value> 榪欓噷瑕佽緗瓽BK錛岃屼笉鏄疷TF8銆備負(fù)浜?jiǎn)瑙e喯x爣鍗曟彁浜ゅ悗鐨勪腑鏂囬棶棰樸?br />filters.SetCharacterEncodingFilter聽 綾繪枃浠跺湪TOMCAT lib 鐩綍涓媐ilters.jar鏂囦歡涓?br />浣犲彧闇瑕佹妸filters.jar鏀懼叆浣犲簲鐢ㄧ洰褰曚笅鐨凩IB涓嵆鍙?br />
5銆佽櫄鎷熶富鏈洪厤緗?br />a.緙栬緫
%jboss-4.0.2%\server\default\deploy\jbossweb-tomcat55.sar\server.xml
鍦?</Engine>涔嬪墠娣誨姞錛?br /><Host name="<Alias>www2.ytiic.com</Alias>--銆夊埆鍚嶏紝閫氳繃榪欎釜鍚嶅瓧鍙互璁塊棶www.ytiic.com涓嬬殑搴旂敤銆?br /><Alias>ytiic.com</Alias>--銆夊悓涓?br /><!-- Default context parameters -->
<DefaultContext cookies="true" crossContext="true" override="true"/>
</Host>
b.鍦ㄨ繖涓洰褰曚笅錛?jboss-4.0.2%\server\default\deploy
鍒涘緩涓涓洰褰曪細(xì)test.war(浣犵殑铏氭嫙鐩綍鍔?war)涔嬪悗鍦ㄥ叾涓嬪垱寤篧EB-INF鐩綍
鍦╓EB-INF涓嬪垱寤猴細(xì)jboss-web.xml 鏂囦歡,鍐呭濡備笅錛?br /><jboss-web>
<context-root>/</context-root>
<virtual-host>www.ytiic.com</virtual-host>
</jboss-web>
铏氭嫙涓繪満閰嶇疆瀹屾垚錛?br />褰搄boss鍚姩鍚庯紝浼?xì)鑷姩瀵瑰?涓厤緗枃浠朵腑鐨勮櫄鎷熶富鏈哄悕銆?br />
6銆佹暟鎹簱閰嶇疆錛?br />鍘昏繖涓?%jboss-4.0.2%\docs\examples\jca 鐩綍鎵句竴涓綘鎯崇敤鐨勬暟鎹簱鏂囦歡錛?
鎷瘋礉鍒?jboss-4.0.2%\server\default\deploy 涓嬶紝鎵撳紑緙栬緫銆?br />鍦?jboss-4.0.2%\server\default\deploy鐩綍涓嬭嚜宸卞緩浜?jiǎn)涓涓枃浠訛細(xì)
test榪欎釜鍚嶅瓧鑷繁瀹氫箟錛屽悗闈㈤渶瑕佷繚鐣欍?br />test-ds.xml
鍐呭濡備笅錛?br />< xml version="1.0" encoding="UTF-8" >
<!-- ===================================================================== -->
<!--聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 -->
<!--聽 JBoss Server Configuration聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 -->
<!--聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 -->
<!-- ===================================================================== -->
<!-- $Id: mssql-ds.xml,v 1.3 2004/09/15 14:37:40 loubyansky Exp $ -->
聽 <!-- ======================================================================-->
聽 <!-- New ConnectionManager setup for Microsoft SQL Server 2000聽 driver聽聽聽聽 -->
聽 <!-- You may download the latest Microsoft JDBC driver from *Microsoft*聽聽聽 -->
聽 <!-- http://msdn.microsoft.com/downloads/default.asp url=/downloads/sample.asp url=/MSDN-
FILES/027/001/779/msdncompositedoc.xml&frame=true -->
聽 <!-- ===================================================================== -->
<datasources>
聽 <local-tx-datasource>
聽聽聽 <jndi-name>test</jndi-name>
聽聽聽 <connection-url>jdbc:mysql://192.168.1.1/test</connection-url>
聽聽聽 <driver-class>org.gjt.mm.mysql.Driver</driver-class>
聽聽聽 <user-name>root</user-name>
聽聽聽 <password>password</password>
聽聽聽聽聽聽聽 <!-- sql to call when connection is created
聽聽聽聽聽聽聽 <new-connection-sql>some arbitrary sql</new-connection-sql>
聽聽聽聽聽聽聽 -->
聽聽聽聽聽 <!-- The minimum connections in a pool/sub-pool. Pools are lazily constructed on first use -->
聽聽聽聽聽 <min-pool-size>5</min-pool-size>
聽聽聽聽聽 <!-- The maximum connections in a pool/sub-pool -->
聽聽聽聽聽 <max-pool-size>20</max-pool-size>
聽聽聽聽聽聽聽 <!-- sql to call on an existing pooled connection when it is obtained from pool
聽聽聽聽聽聽聽 <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
聽聽聽聽聽聽聽 -->
聽聽聽聽聽 <!-- The time before an unused connection is destroyed -->
聽聽聽聽聽 <!-- NOTE: This is the check period. It will be destroyed somewhere between 1x and 2x this timeout after last use-->
聽聽聽聽聽 <!-- TEMPORARY FIX! - Disable idle connection removal, HSQLDB has a problem with not reaping threads on closed connections -->
聽聽聽聽聽 <idle-timeout-minutes>1</idle-timeout-minutes>
聽聽聽聽聽 <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
聽聽聽聽聽 <metadata>
聽聽聽聽聽聽聽聽 <type-mapping>mysql</type-mapping>
聽聽聽聽聽 </metadata>
聽 </local-tx-datasource>
</datasources>

鏁版嵁搴撻厤緗畬鎴愩?br />榪炴帴鏁版嵁婧愬悕涓猴細(xì)java:/test

錛濓紳錛濓紳錛濓紳錛濓紳錛濓紳錛濓紳錛濓紳錛濓紳錛濓紳錛濓紳錛濓紳錛濓紳錛濓紳錛濓紳錛濓紳錛濓紳錛?br />鎵鏈夐厤緗畬鎴愶紒錛?/p>

娉ㄦ剰闂錛?br />(1)銆佷綘鐨勫簲鐢ㄤ笅鐨凩IB搴撲笉瑕佸拰%jboss-4.0.2%\server\default\lib 涓嬬殑綾誨簱鐩稿啿紿併?br />(2)銆佹暟鎹簱閰嶇疆鍙傝冿細(xì)%jboss-4.0.2%\docs\examples\jca聽 涓嬬殑鏂囦歡

7銆佺姝㈡枃浠剁洰褰曞垪琛?br />緙栬緫%jboss-4.0.2%\server\default\deploy\jbossweb-tomcat55.sar\conf\web.xml
鎶妉isting璁劇疆涓篺alse聽

聽聽聽 <servlet>
聽聽聽聽聽聽聽 <servlet-name>default</servlet-name>
聽聽聽聽聽聽聽 <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
聽聽聽聽聽聽聽 <init-param>
聽聽聽聽聽聽聽聽聽聽聽 <param-name>debug</param-name>
聽聽聽聽聽聽聽聽聽聽聽 <param-value>0</param-value>
聽聽聽聽聽聽聽 </init-param>
聽聽聽聽聽聽聽 <init-param>
聽聽聽聽聽聽聽聽聽聽聽 <param-name>listings</param-name>
聽聽聽聽聽聽聽聽聽聽聽 <param-value>true</param-value>
聽聽聽聽聽聽聽 </init-param>
聽聽聽聽聽聽聽 <load-on-startup>1</load-on-startup>
聽聽聽 </servlet>



鍛ㄦ父涓栫晫 2006-09-13 15:32 鍙戣〃璇勮
]]>
[ZZ] JBOSS 鍐呭瓨闂瑙e喅鏂規(guī)硶http://www.aygfsteel.com/yanzhou/archive/2006/09/13/69384.html鍛ㄦ父涓栫晫鍛ㄦ父涓栫晫Wed, 13 Sep 2006 07:16:00 GMThttp://www.aygfsteel.com/yanzhou/archive/2006/09/13/69384.htmlhttp://www.aygfsteel.com/yanzhou/comments/69384.htmlhttp://www.aygfsteel.com/yanzhou/archive/2006/09/13/69384.html#Feedback0http://www.aygfsteel.com/yanzhou/comments/commentRss/69384.htmlhttp://www.aygfsteel.com/yanzhou/services/trackbacks/69384.html鏄ㄥぉ鏌ヤ簡(jiǎn)涓澶╃殑璧勬枡錛岃繍姘斾笉閿欙紝鏀惰幏涓嶅皬錛岃В鍐充簡(jiǎn)涓涓佸ぇ闅鵑棶棰橈細(xì)JBoss鍐呭瓨绱у紶鐨勯棶棰樸?br />榪欐槸涓涓洶鎵頒簡(jiǎn)鎴戜袱騫存暣鐨勯棶棰橈紝灝辨槸浠庡墠騫磋繖涓椂鍊欙紝鐢↗Boss 3.2.1鏋剁珯浠ユ潵錛屽緇堟槸涓涓ぇ闂銆備笉澶х殑绔欑偣錛?G鐨勫唴瀛橀兘涓嶅鐢紝緇忓父瑕佹秷鑰?00Mb鐨勪氦鎹㈠唴瀛橈紙swap)銆?br />鍘熸潵鏄嚜宸辯姱浜?jiǎn)闈炲告綆綰х殑閿欒錛屼笉鎳侸AVA_OPTS鍚勫弬鏁扮殑鍚箟閫犳垚鐨勩?br />涔嬪墠鐨凧AVA_OPTS鏄?-Xms 520m -Xmx 1220m -Xss 15120k +XX:AggressiveHeap
榪欎釜JAVA_OPTS鐘簡(jiǎn)2涓嚧鍛界殑閿欒錛?br />1. +XX:AggressiveHeap浼?xì)鋴慑?Xms 1220m娌℃湁鎰忎箟銆傝繖涓弬鏁拌jvm蹇界暐Xmx鍙傛暟錛岀柉鐙傚湴鍚冨畬涓涓狦鐗╃悊鍐呭瓨錛屽啀鍚冨敖涓涓狦鐨剆wap銆?br />鍙﹀Xmx浣滀負(fù)鍏佽jvm浣跨敤鐨勬渶澶у唴瀛樻暟閲忥紝涓嶅簲璇ヨ秴榪囩墿鐞嗗唴瀛樼殑90錛呫?br />鑰屼箣鎵浠ヤ嬌鐢ㄤ簡(jiǎn)榪欎釜鍙傛暟錛屾槸鍥犱負(fù)涓嶅姞鐨勮瘽錛孞Boss浼?xì)鍦q愯涓澶╁乏鍙崇殑鏃墮棿鍚庤繀閫熷穿婧冿紝涓婃満璇炬槸錛岀敋鑷沖嚭鐜拌繃鍗婁釜灝忔椂灝卞穿婧冪殑鎯呭喌銆?br />涔嬫墍浠ヨ鐢ㄨ繖涓弬鏁幫紝鐢╯wap鏀寔鏈嶅姟鍣ㄨ繍琛岋紝鏄洜涓虹姱浜?jiǎn)涓嬮潰鐨勯敊璇Q?br />2. -Xss 15120k
榪欎嬌寰桱Boss姣忓鍔犱竴涓嚎紼嬶紙thread)灝變細(xì)绔嬪嵆娑堣?5M鍐呭瓨錛岃屾渶浣?jīng)_煎簲璇ユ槸128K,榛樿鍊煎ソ鍍忔槸512k.
榪欏氨鏄疛Boss鍒氬惎鍔ㄦ椂錛岃繕鏈?00Mb鍐呭瓨瀵屼綑錛屼絾浼?xì)鍦ㄤ竴涓皬鏃跺唴榪呴熺敤瀹岋紝鍥犱負(fù)鏈嶅姟鍣ㄧ殑threads鍦ㄨ繀閫熷鍔犮傚墠3澶╋紝姣忓ぉ閮藉鍚?0Mb宸﹀彸鐨剆wap.鍦ㄧ鍥涘ぉ寮濮嬬ǔ瀹氫笅鏉ャ備粖騫存槬鑺傚湪澶栧害鍋囷紝瑙傚療鍒頒簡(jiǎn)榪欎釜鐜拌薄錛屽嵈涓嶇悊瑙e叾鍘熷洜錛氭湇鍔″櫒鍦ㄧ嚎紼嬪埌杈?00涔嬪悗錛屼竴鑸笉鍐嶅鍔犳柊鐨勭嚎紼嬶紝鏂板鍔犵殑鍦ㄧ敤瀹屼箣鍚庯紝浼?xì)琚珮q呴焏estroy錛??瑜傜帿鍝瘱瀣変笉鍘ユ鎭曪疾铏艱?鏃佽瘱鑸皠璇╂磳?閯勬枔妞?琛塊珶?1.25-2.10鎵浣跨敤鐨勭嚎紼嬪熀鏈槸1.21-1.23鍒涘緩鐨勶紝鍥犳娌℃湁鍐嶆秷鑰楁柊鐨勫唴瀛樸傛湇鍔″櫒鎸佺畫榪愯鏃墮棿錛屼篃鍥犳澶уぇ瓚呬箮鎴?澶╃殑棰勬湡錛屽埌杈句簡(jiǎn)20澶┿?br />鏄ㄥぉ鎵浣滅殑淇敼錛?br />1.淇敼JAVA_OPTS,鍘繪帀+XX:AggressiveHeap錛屼慨鏀筙ss銆傜幇鍦ㄧ殑JAVA_OPTS涓猴細(xì)
錛峏ms 520m -Xmx 900m -Xss 128k
2.淇敼deploy/jbossweb-tomcat55.sar/service.xml
灝唌axThreads鏍規(guī)嵁鐩墠鐨勮闂噺鐢遍粯璁ょ殑250闄嶄負(fù)75錛屽茍浣跨敤jboss 4榛樿鏈啓鍦ㄦ爣鍑唖ervice.xml閲岄潰鑰宩boss 3鍐欏叆浜?jiǎn)鐨?涓弬鏁? maxSparseThreads=55錛宮inSparseThreads=25
3.淇敼浜?jiǎn)oracle-ds.xml灝嗘渶澶ц繛鎺ユ暟鏈?50闄嶄負(fù)50.
4.鍘繪帀浜?jiǎn)涓浜涗笉鐢ㄧ殑鏈嶅姟銆?


鍛ㄦ父涓栫晫 2006-09-13 15:16 鍙戣〃璇勮
]]>
JBoss閰嶇疆HTTPS瀹夊叏榪炴帴http://www.aygfsteel.com/yanzhou/archive/2006/09/13/69382.html鍛ㄦ父涓栫晫鍛ㄦ父涓栫晫Wed, 13 Sep 2006 07:10:00 GMThttp://www.aygfsteel.com/yanzhou/archive/2006/09/13/69382.htmlhttp://www.aygfsteel.com/yanzhou/comments/69382.htmlhttp://www.aygfsteel.com/yanzhou/archive/2006/09/13/69382.html#Feedback0http://www.aygfsteel.com/yanzhou/comments/commentRss/69382.htmlhttp://www.aygfsteel.com/yanzhou/services/trackbacks/69382.html1銆佺敤keytool鐢熸垚server.keystore鏂囦歡錛?br />C:\Documents and Settings\new>keytool -genkey -alias tc-ssl -keyalg RSA -keystor
e c:\server.keystore -validity 3650

鐢熸垚瀹屽悗鏀懼叆C:\jboss-3.2.6\server\default\conf涓?br />
2銆侀厤緗畇erver.xml鏂囦歡
<!-- SSL/TLS Connector configuration using the admin devl guide keystore-->
聽聽聽聽聽聽<Connector port="8443" address="${jboss.bind.address}"
聽聽聽聽聽聽聽聽聽聽 maxThreads="100" minSpareThreads="5" maxSpareThreads="15"
聽聽聽聽聽聽聽聽聽聽 scheme="https" secure="true" clientAuth="false"
聽聽聽聽聽聽聽聽聽聽 keystoreFile="${jboss.server.home.dir}/conf/server.keystore"
聽聽聽聽聽聽聽聽聽聽 keystorePass="111111" sslProtocol = "TLS" />
3銆佽闂?a href="https://localhost:8443/jmx-console/index.jsp">https://localhost:8443/jmx-console/index.jsp錛屽彲浠ヤ簡(jiǎn)銆?br />鍚屾椂http://localhost:8080/jmx-console/index.jsp涔熷彲浠ヨ闂紝
濡傛灉灝唄ttp杞悜鍒癶ttps: 淇敼WEB搴旂敤鐨剋eb.xml
=========web.xml==================
<security-constraint>
聽聽聽聽 <web-resource-collection>
聽聽聽聽聽聽 <web-resource-name>HtmlAdaptor</web-resource-name>
聽聽聽聽聽聽 <description>An example security config that only allows users with the
聽聽聽聽聽聽聽聽 role JBossAdmin to access the HTML JMX console web application
聽聽聽聽聽聽 </description>
聽聽聽聽聽聽 <url-pattern>/</url-pattern>
聽聽聽聽聽聽 <!-- <http-method>GET</http-method>
聽聽聽聽聽聽 <http-method>POST</http-method> -->
聽聽聽聽 </web-resource-collection>
聽聽聽聽 <!--<auth-constraint>
聽聽聽聽聽聽 <role-name>JBossAdmin</role-name>
聽聽聽聽 </auth-constraint> -->
聽聽聽聽 <user-data-constraint>
聽聽聽聽聽聽聽聽聽聽聽聽<description>Protection should be CONFIDENTIAL</description>
聽聽聽聽聽聽聽聽聽聽聽聽<transport-guarantee>CONFIDENTIAL</transport-guarantee>
聽聽聽聽聽聽</user-data-constraint>
</security-constraint>



鍛ㄦ父涓栫晫 2006-09-13 15:10 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 绵竹市| 井冈山市| 大同县| 安图县| 新建县| 新平| 老河口市| 张家口市| 东兰县| 宽甸| 望江县| 崇左市| 资中县| 东乌| 定西市| 永昌县| 房产| 德昌县| 石阡县| 那坡县| 潍坊市| 临西县| 荃湾区| 昂仁县| 宁远县| 锦州市| 突泉县| 天津市| 济源市| 四子王旗| 蒲城县| 怀远县| 芒康县| 永春县| 青铜峡市| 菏泽市| 綦江县| 洛浦县| 阳原县| 呼玛县| 浏阳市|