Hi, Morton.

Version 1.3 is definitely a little old, but you should still be able to do what you're 
trying to
do.

Here's what to do:

1) Find the location where SourceJammer is installed. Might be something like
/usr/local/jakarta-tomcat/webapps/sourcejammer.

2) In the WEB-INF/conf directory will be a file called serverconf.xml. Add a section 
to the file
like this:

<DefaultArchiveRoot>/usr/local/sourcejammer/archives</DefaultArchiveRoot>

or whatever you want the root directory for new archives to be.

3) Take a look at the FAQ on moving archives here
(http://www.sourcejammer.org/psjs_faqs/08280647.html#08283034)

Use the move.sh file that the FAQ mentions. This should be somewhere under WEB-INF. 
You might need
to modify the config path and the class path to get it to work.

Give this a try and let me know.

Oh, and make sure you back up your SJ installation before you start messing with it.

--Rob


--- "Morton, Gregory" <[EMAIL PROTECTED]> wrote:
> Hi!
>  
> I've inherited an installation of Sourcejammer, and I need to solve a problem.  I've 
> searched
> the archives, but I can't seem to find what I'm looking for.
>  
> Right now all new archives are being created on our (AIX 5.1) box on the root 
> directory.  The
> sysadmin is displeased and would like the archives moved to /home/sourcejammer, or 
> some other
> more suitable location.
>  
> I've tried to modify the .sja files, but this isn't doing the trick, as I am getting 
> an IO error
> when I try to do a get from the client.
>  
> I've looked at the javadoc, and found Class ArchiveInfoFS, specifically 
> setArchiveRootFileName,
> so I know there must be a way to do it programatically...  Unfortunately I don't 
> have a clue
> about java or tomcat, so SJ had been a black box for me.  The version of SJ is old 
> (1.3), but
> before he left, Billy Joe said that version 2 wasn't working, so he had to regress.  
> He thought
> it was incompatibility with the version of java installed, and samba wasn't playing 
> nicely
> either. (sorry I don't have any more specifics about error messages)
>  
> I guess what I'd like, is to know if there is a way to change the value of the 
> archive root from
> the client.  I see that when I get the archive properties it lists the archive root 
> directory,
> but the box is disabled.
>  
> I just subscribed to the mailing list, so if you want to reply there it's ok, but I 
> assumed most
> people wouldn't be interested in knowing stuff about an older version.
>  
> Thanks,
> Gregory Morton,
> www.xwave.com
> 



        
                
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
SourceJammer-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sourcejammer-users

Reply via email to