Hello all,

I built a Service Management webapp with Maven and was able to get it working. 
Then I realized that the data was not persistent after restarting Tomcat.

I read the docs and from what I understand, services can still be registered 
and can be persistent across restarts, rather than held in memory, regardless 
if I use the web console or not.

Since I only have a handful of services to register, I don't want to create a 
database just for the data.  I prefer not to utilize the web console.
My question is where to list/register these services? After creating the 
service management webapp, I see the file managerConfigContext.xml in the 
/WEB-INF directory. The docs and the example indicate that the services can be 
designated here. I assume that this is what is referred to in the section that 
says, referring to InMemoryServiceRegistryDaoImpl:

"This component is NOT suitable for use with the service management console 
since it does not persist data. On the other hand, it is perfectly acceptable 
for deployments where the XML configuration is authoritative for service 
registry data and the UI will not be used."

Also:  "It is perfectly acceptable to avoid the service management console Web 
application for managing registered service data. In fact, configuration-driven 
methods (e.g. XML, JSON) may be preferable in environments where strict 
configuration management controls are required."

Is the file 'managementConfigContext.xml' where I register these services ?

Many thanks.


-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to