<< Click to Display Table of Contents >> Conversion of Server Classes |
![]() ![]() ![]() |
From Tomcat server to JBoss server (Jboss version: jboss-5.0.1.GA), the steps are as follows:
1.Find the Bi folder from the installation directory \YongHong\tomcat.
2.Copy the Bi folder to the \jboss-5.0.1.GA\jboss-5.0.1.GA\server\default\deploy path and rename it to bi.war.
3.Open the run.bat file in the \jboss-5.0.1.GA\bin directory.after set JBOSS _CLASSPATH=%r%_CLASSPATH=%RUN_CLASSPATH% Add in the back:
Installation path:\YongHong\jdk\lib\tools.jar;
jboss-5.0.1.GA \common\lib\servlet-api.jar;
Installation path\YongHong\Yonghong\product.jar;
Installation path\YongHong\Yonghong\thirds.jar;
Installation path\YongHong\example\Statistics.jar;
4.Open bi.war\WEB-INF\web.xml,delete <load-on-startup>1</load-on-startup>.