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 Robert MacGrogan wrote: I don't recall ever explicitly running this test myself, but I'm surprised it's causing problems.Java shouldn't care what OS it's running under. The only thing I can think that might cause this problem is the EOL characters. But Java doesn't care about these, even when the OS does. And SJ should be clever enough not to get tripped up. Could you clarify exactly how you moved your archives? I'd like to see if I can figure out exactly which file is tripping up. Also, do you have a strack trace you can give me? Thanks. --Rob --- David Tam <[EMAIL PROTECTED]> wrote:I have tried moving archives across operating systems and I was dissapointed to find out that this doesnt work. I tried moving from sourcejammer on red hat linux to sourcejammer on freebsd and I got a corrupt xml message. I then attempted to move an archive from winXP to freebsd and it also didnt work. Is there are reason for this? Can it be done? Thanks in advance. ------------------------------------------------------- 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=7393&alloc_id=16281&op=click _______________________________________________ SourceJammer-users mailing list SourceJammer-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sourcejammer-usersDiscover Yahoo! Find restaurants, movies, travel and more fun for the weekend. Check it out! http://discover.yahoo.com/weekend.html |
- [SourceJammer-users] moving sourcejammer archives from on... David Tam
- Re: [SourceJammer-users] moving sourcejammer archive... Robert MacGrogan
- Re: [SourceJammer-users] moving sourcejammer archive... Robert MacGrogan
- Re: [SourceJammer-users] moving sourcejammer archive... Robert MacGrogan