Shafi Tokhi
unread,Jan 31, 2009, 10:52:54 AM1/31/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to uc...@googlegroups.com
Dear all,
the ucoop is now on the svn and the jsecurity is enabled you have to do some more configurations to be able to run ucoop.
the name of porject is now : ucoop_jsV1 from now on if you commit your project please define a version for the ucoop as I did V1 for example, this helps not lose the other versions if a version is deleted or crashed.
configuration:
Step 1:
there is a file in lib folder of ucoop named server.xml file you need to open the mentioned file and copy the following lines:
<Realm className="org.apache.catalina.realm.JDBCRealm" connectionName="ucoop" connectionPassword="ucoop" connectionURL="jdbc:mysql://localhost/ucoop" driverName="com.mysql.jdbc.Driver" resourceName="UserDatabase" roleNameCol="role" userCredCol="password" userNameCol="username" userRoleTable="user_role" userTable="User"/>
and paste it in your own apache-tomcat-6.0.18/conf/server.xml file, for hint you can see the server.xml file in lib folder.
if you have a different mysql user and password you need to change that.
step 2:
open the ucoop lib folder and copy the mysql-connector-java-5.0.8-bin.jar jar file and paste it into your own apache lib folder ( apache-tomcat-6.0.18/lib/ )
step 3:
remove your ucoop database from mysql:
drop database ucoop
and create it again
create database ucoop;
step 4:
create a member and then you should be able to login into ucoop.
ps: in order if you want to careate an admin for ucoop you need to change the property of groupTyp in User table to 'admin' as well as the role property in user_role table.
if you faced to any problem , just mail.
regards,
--
Shafi tokhi