When my Win 2000 sp5 laptop is not connected to a network, TaminoWebDAV 188.8.131.52 server does not work properly (typical error below fyi).
I believe the reason for this is that xtsurl.cfg is getting entries which are the computer’s hostname (SKAEN) from somewhere, and resolving them to its IP address (when last connected).
I’ve attached below my xtsurl.cfg file (most of the references to localhost are because i put them there, which helped, but it still got extra references to SKAEN from somewhere).
How do i configure XTS to always use localhost, and never the hostname?
I’m using Tamino 4.1.4
WARN [main] - Service com.softwareag.xtools.xdav.store.XDescriptorsStore@498713 initialization failed : WebDAV Server
http://192.168.1.49:4000/taminowebdavserver/ is already defined. http://127.0.0.1:4000/taminowebdavserver/ can not initialize
INFO [main] - Initializing Store $deltav_history_mycoll
Use the Tamino database parameter “server host name”.
Setting it to “localhost” will solve your problem.
how can i find this parameter ?
is it apache Servername or what ?
i have a same problem. I changed hostname but xtsurl.cfg has always old hostname , after starting smh and tamino.
Perhaps, there is an entry in REGFILE like MILayer !
thank you in advance !
Thanks Juango, i will look at that parameter.
In the meantime, I worked around the problem by configuring the Microsoft loopback network adapter (Control Panel - Add New hardware - Network Card - Microsoft Loopback Adapter) to use the IP address sag is expecting (in this case 192.168.1.49), and reconfigured the real network card to a different address (eg 192.168.1.149), so now the computer is responds to 192.168.1.49 whether it is connected to the network or not.
here is the REAL solution. Tamino WebDAV server stores in Tamino the IP address of the WebDAV Store that accesses the DB. When your IP changes, the WebDAV server complains that there is a different IP in the DB, then the WebDAV server has. This should prevent two WebDAV server from accessing the same collection in Tamino.
If you IP changes every now and then, you can force the WebDAV server to always connect. This is done by specifying an extra parameter in the xml document that defines your store.
It is called force-connection and it should be set to true. (for details look at the Tamino WebDAV documentation). That will then always let WebDAV connect no matter how your IP changes.