[SourceJammer-users] Re: tomcat
Brought to you by:
robertmacgrogan
From: Robert M. <rob...@ya...> - 2002-02-11 19:46:41
|
Hi, Daniel. --- "dan...@a-..." <dan...@a-...> wrote: > Hi Robert > > I did execute the deploy; actually I read on some > tutorial on the net > and I run the command > deploy SJDeplymentDescriptor.xml; > > anyway I did it again and got another message which > sounds like: > > Error:Cannot access ArchiveInfo file on file system. > c:\sourcejammer\server\webapps\sourcejammer\conf\filesys\null OK. Sounds like for some reason the first time you ran the deploy script it did not actually deploy. This new error message tells me that you have now deployed. More below. > > and I also noticed before that another file is > missing which I think > should be ther, that is > c:\sourcejammer\server\webapps\sourcejammer\archives\null > > and I don't understand why since the infos about > archives are stored in: > C:\SourceJammer\conf\archives.xml You're making probably the most common mistake about SourceJammer: confusing the server-side archives with the client-side archive definitions. But don't worry. You are definitely not the first person to make this mistake and you won't be the last. I need to figure out a way to prevent people from getting confused about this. The archives.xml file is NOT a list of archives available on your SourceJammer server. It is a list of archives that your client knows about. Basically archives.xml is a list of connection information. archives.xml is the source of the list of archives you see in the Archives dialog. The server keeps its archive information in the following locations: 1) <install-path>webapps\sourcejammer\conf\filesys\archiveList (a serialized object with a list of all available archives) 2)<install-path>webapps\sourcejammer\conf\filesys\<archivename>.sja (where <archivename> is the name of a single archive. This file contains info about the archive.) 3) <install-path>webapps\sourcejammer\archives\ (This directory contains a single directory for each archive available on the server. The archive directories have the same name as the archive. Each archive's directory contains all the files, project info, version history, etc. for that archive.) So, to create an archive using the SJ GUI, first you need to "Make" the archive using Tools | Make Archive. Then you need to create a local definition telling the GUI about that archive using Connection | Maintain Archive List | New. Hopefully this clears things up. I really need to release a document on this issue as it confuses a lot of people. --Rob __________________________________________________ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com |