I am trying to have Weceem (Grails CMS) installed locally on my machine (Windows XP), but I am having a really hard time setting the JAVA_OPTS variable -Dweceem.config.location.
My environment is as follows:
- Java 6 with JAVA_HOME environment variable added to the Path
- Tomcat 6 Installed
- Grails 1.3.7 installed and set under GRAILS_HOME variable and added to the Path environment variable.
- MySQL Installed
- MySQL JDBC jar added under Tomcat_home/lib folder.
- A Database called weceem with weceem as username and password created and full permissions to create all kinds of database objects.
PROBLEM
In order to install WECEEM GRAILS CMS you have to have a weceem.properties files in Tomcat's classpath. I am having a hard time setting that up. I did as follows:
Created a weceem.properties under tomcat_home/lib with the settings as follows:
dataSource.pooled=true dataSource.driverClassName=com.mysql.jdbc.Driver dataSource.username=weceem dataSource.password= weceem dataSource.dbCreate=update dataSource.url=jdbc:mysql://localhost:3306/weceem
Opened up tomcat6w.exe and added the following JAVA_OPT under Java Tab\Java Options textarea:
-Dweceem.config.location=C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\weceem.properties
Place weceem-1.1.2.war under tomcat_home\webapps
Double click on tomcat6.exe under tomcat_home\bin
Everything seems to be deploying/initializing fine but I notice that at the beginning it says: Classpath resource[C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\weceem.properties] cannot be opened because it does not exist.
Anybody has any ideas on how to fix this?
Any good step by step detailed solution on how to install Weceem?
Thanks, Viriato