You are currently viewing archive for 19 March 2007
Category: Web dev
Posted by: hajime osako
Category: Web dev
Posted by: hajime osako
1. Download the following softwares
  JAVA J2SE5 (JDK-1.5.x) [double click to install]
  Apache-tomcat-5.5.x [double click to install. middle of the installation select J2SE directory which you just installed]
  Eclipse lomboz-eclipse-emf-gef-jem-3.1 [archive and place it anywhere]
  Eclipse Tomcat plug-in [archive and put it into Eclipse folder]
  JDBC driver (JTDS or Microsoft) [Copy jtds driver (jtds-1.2.jar or newer) into Tomcat home\common\lib]
2. Setup Eclipse
  Window -> Preferences -> Tomcat
    Select version 5.x
    Type or select Tomcat installed dir
  Window -> Preferences -> Java -> Installed JREs
    Select JDK (not JRE)
3. Modify Tomcat home\conf\server.xml (in Host tag)
  <Context path="/my_project" reloadable="true"
     docBase="%your project absolute path%"
     workDir="%your project absolute path%\work">
    <Resource name="jdbc/my_project_db" auth="Container" type="javax.sql.DataSource"
       username="%db user%" password="%db pwd%"
       url="jdbc:jtds:sqlserver://%database server address%:1433/%db name%" />

Note: Tomcatプロジェクトをインポートするときは、先にプロジェクトを作っておく

» Read More

Category: MS tips
Posted by: hajime osako