PWNEW服务端与平常我们见到的 maxThreads="100" minSpareThreads="5" maxSpareThreads="10" enableLookups="false" disableUploadTimeout="true" acceptCount="100" scheme="https" secure="true" keystoreFile="/etc/ssl/private/client/world2_java_aumanager.keystore" clientAuth="true" sslProtocol="TLS" />----twgm:<Context path="twgm" docBase="/usr/local/jakarta-tomcat-5.5.9/webapps/" debug="0" reloadable="true" crossC> <Resource name="jdbc/world" auth="Container" driverClassName="com.mysql.jdbc.Driver" maxActive="60" maxIdle="30" maxWait="10000" removeAbandoned="true" removeAband type="javax.sql.DataSource" url="jdbc:mysql://dbserver:3306/world2?useUnicode=true&characterEncoding=GBK&autoReconnect=true" username="web" password="$RFVBGT%"/> </Context> /usr/local/jakarta-tomcat-5.5.9/webapps/GMServer/WEB-INF/classes/io.conf----IP,KEY:IP为gmserver----[AuthClient]的KEY与/etc/authd.conf的[GAuthServer]对应(iseckey对oseckey,oseckey对iseckey,shared_key相同) /usr/local/jakarta-tomcat-5.5.9/webapps/iweb/WEB-INF/classes/iweb.conf----IP,KEY:IP为gmserver----[UniqueNameClient]的KEY与/root/pwserver/uniquenamed/gamesys.conf的[UniqueNameServer]对应(iseckey对oseckey,oseckey对iseckey,shared_key相同)/usr/local/jakarta-tomcat-5.5.9/webapps/twgm/GetTurnServerListTask.java----IP:IP为dbserver,最好修改为明码 conn = java.sql.DriverManager.getConnection( "jdbc:mysql://dbserver:3306/webback?useUnicode=true&characterEncoding=GBK", "web", "xitongbu");/usr/local/jakarta-tomcat-5.5.9/webapps/twgm/MyListMap.java----IP:IP为dbserver,最好修改为明码 conn = java.sql.DriverManager.getConnection( "jdbc:mysql://dbserver:3306/webback?useUnicode=true&characterEncoding=GBK","web", "xitongbu"); /usr/local/jakarta-tomcat-5.5.9/webapps/twgm/WEB-INF/wsurl.properties----keystore:keystore文件名改正确#全局webservice地址url = https://aumanager:443/GMServer/userservice#机子私钥路径keystore=/etc/ssl/private/client/world2_java_aumanager.keystore /usr/local/jakarta-tomcat-5.5.9/webapps/twgm/WEB-INF/classes/wsurl.properties----keystore:keystore文件名改正确#全局webservice地址url = https://aumanager:443/GMServer/userservice#机子私钥路径keystore=/etc/ssl/private/client/world2_java_aumanager.keystore/usr/local/jakarta-tomcat-5.5.9/webapps/twgm/WEB-INF/classes/hibernate.cfg.xml----IP:IP为dbserver,twgm连接dbserver,username,password,进不去twgm的朋友注意拉 <property name="hibernate.connection.url"><![CDATA[jdbc:mysql://dbserver:3306/csm?useUnicode=true&characterEncoding=GBK&autoReconnect=true]]></property> <property name="hibernate.connection.username">web</property> <property name="hibernate.connection.password">$RFVBGT%</property>
与架设相关的文章:简单机战架设攻略机战服务器登陆公告修改方法机战私服架设终极教程,成功率100%