I have a service that creates a few standard user account, roles and
permissionsif they do not already exist in the database. It has a entry in
TR.props fo


# Database primer
# This ensures that the required records exist in the database before
# activity occurs.  It avoids the need for a stand-alone installation tool
services.DatabasePrimer.classname=com.roamware.rwtransform.services.Database
Primer

I out a breakpoint in it and found that it is run twice, once when the
servlet starts (I have Tomcat load the servlet when it starts). And once
when a user first logs in. If Turbine initialises the services for each user
to log in then clearly my service is in the wrong place. Is there a place to
put the service so that it only runs when Turbine first runs?

Thanks,

David


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to