<Resource name="jdbc/SutiGRCDB" auth="container" type="javax.sql.DataSource" username="grcuser" password="grcpass" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://192.168.0.7/sutigrc3_1?autoReconnect=true" />
Server.xml
<Context path="/MessagingService" reloadable="false" docBase="F:\EclipseWorkspace\MessagingService\WebRoot" workDir="F:\EclipseWorkspace\MessagingService\WebRoot" />
Eclipse level configuration
- Download eclipse and tomcat, then install them.
- Drop your com.sysdeo.eclipse.tomcat_3.3.0 library into plugins folder of eclipse
- Now start your eclipse.
- Go to Window -> Preferences -> Tomcat
- Here set your version of tomcat, set tomcat home directory upto tomcat6.0
- set context declaration mode to server.xml and your configuration file will be server.xml
- And now on Advanced tab, Here leave every thing unselected.
- JVM settings, Here also leave every thing unselected.
- SourcePath, Here select Automatically compute source path
- Tomcat manager app, url will be http://localhost:8080/manager, user name will be admin and leave password empty.
- Now press OK
Project level configuration
- right click on project, go to properties and select on tomcat.
- General Tab, check for Is a tomcat project, no context name required and check for mark this context as reloadable. thats it and remain all empty.
- Devloader classpath tab, remain empty.
- export to war settings tab, remain empty.
- Now press OK.