Actually, there's already a doc for that. It's one the SourceJammer 
documentation page:

http://www.sourcejammer.org/documentation.html

--Rob


--- David Tam <[EMAIL PROTECTED]> wrote:
> Could you define the correct steps for manually moving an sj archive 
> from one machine to another regardless of the OS.?
> I'm sure this would help others as well as myself.
> 
> Thanks much
> 
> David
> 
> 
> Robert MacGrogan wrote:
> 
> >David,
> >
> >How did you manage the archiveList file? Did you move this file along with 
> >the .sja files? If
> so,
> >I'm not sure that this will work. This is a binary file, unfortunately, so 
> >you can't open and
> >modify it. But it does not contain path-specific data, so you should be able 
> >to move it. It
> just
> >contains a listing (in a hashmap) of all of your archives.
> >
> >The error message tells me that maybe there's a stray character or some bad 
> >xml in the .sja
> file
> >that you manually modified. I was able to copy an archive from a Linux box 
> >to a Windows box,
> >modify the .sja to point to the new path and remove a user that did not 
> >exist on the server I
> was
> >importing to, and make it work. To add the archive to archiveList, I first 
> >added a new archive
> >with the same name on the Windows server and then overwrote the .sja and 
> >archives directory
> with
> >the files from my Linux box. Everything worked fine, so there's no essential 
> >problem with the
> xml.
> >
> >The main problem is that this process is more complex (and manual) than it 
> >ought to be.
> >
> >Take another look at that .sja file and look for anything weird. If you 
> >can't find anything,
> send
> >it to me and I'll have a look.
> >
> >Thanks.
> >
> >--Rob
> >
> >--- David Tam <[EMAIL PROTECTED]> wrote:
> >  
> >
> >>On a red hat linux box running, I tar up the sourcejammer archives 
> >>directory. Then I move the tar file to my machine running XP which also 
> >>has sourcejammer installed. I explode the files to a location and make 
> >>sure serverconf.xml and the sja files point the new location.
> >>
> >>So after Tomcat is started up and running, I open 
> >>http://localhost:8080/sourcejammer/ in the my web browser and attempt to 
> >>browse the archive:
> >>
> >>
> >>javax.servlet.ServletException: Error: The archive file is imporperly 
> >>formatted. Perhaps you've attempted to add plugins and did not set up 
> >>the xml properly.
> >>org.sourcejammer.web.servlet.BrowseArchiveController.connectToArchive(Unknown
> >> 
> >>Source)
> >>org.sourcejammer.web.servlet.BrowseArchiveController.process(Unknown Source)
> >>org.sourcejammer.web.servlet.BrowseArchiveController.doPost(Unknown Source)
> >>javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
> >>javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> >>
> >>Note that the same exact exception occured when I tried moving the 
> >>archives to a freebsd box. Out of curiousity I created a test archive on 
> >>my XP machine and tried moving it to freebsd in an attempt to access the 
> >>archive. It also didnt work for me.
> >>
> >>Maybe you should run some tests to see if this is possible and if not, 
> >>see what the root cause is.
> >>
> >>David
> >>
> >>    
> >>
> >
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Tired of spam?  Yahoo! Mail has the best spam protection around 
> >http://mail.yahoo.com 
> >
> >
> >
> >  
> >
> 
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
SourceJammer-users mailing list
SourceJammer-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sourcejammer-users

Reply via email to