move c:\subsonic in windows

Need help? Post your questions here.

Moderator: moderators

move c:\subsonic in windows

Postby disgustipated » Wed Jan 26, 2011 4:26 pm

I have search a bit and can not find an answer how to do this.
I am looking to move the subsonic home directory that appears to be created by the installer in c:\subsonic. I was unable to find any entries in the registry or a config file in the service install directory that dictates where this subsonic home directory resides. i found instructions for linux and other releases but was unable to find a way to configure this in windows. am i just missing something in the install process or is this not configurable unless i compile it myself?

I want to do this because my c drive is a seperate hard drive for the OS, while my other drive is a 5 disk raid array
disgustipated
 
Posts: 96
Joined: Wed Jan 26, 2011 4:18 pm
Location: US

Postby GJ51 » Wed Jan 26, 2011 5:01 pm

Subsonic doesn't get all intertwined with the registry like the typical windows software install. That's one of the reasons I like SS so much. Just cut and paste C:\Subsonic to wherever you want it and restart the SS service. be sure to stop the service before you move the directory. If there are any issues, just do a fresh reinstall over the new location. If only all windows apps were this way.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby disgustipated » Wed Jan 26, 2011 5:12 pm

i cut the c:\subsonic and moved it to the other drive but under another directory tree and it just recreated it under c. moved the old c:\subsonic to D:\subsonic and it still recreated it under the c drive. that didnt seem to work :\
disgustipated
 
Posts: 96
Joined: Wed Jan 26, 2011 4:18 pm
Location: US

Postby disgustipated » Wed Jan 26, 2011 5:23 pm

im going to try messing around with the standalone version rather than the windows installer one
disgustipated
 
Posts: 96
Joined: Wed Jan 26, 2011 4:18 pm
Location: US

Postby disgustipated » Wed Jan 26, 2011 7:45 pm

ok, looks like the standalone will work with how i want to configure the home directory but now i dont have the service running, just the .bat file with a command window :\
disgustipated
 
Posts: 96
Joined: Wed Jan 26, 2011 4:18 pm
Location: US

Postby disgustipated » Sat Feb 26, 2011 3:36 am

http://forum.subsonic.org/forum/viewtop ... highlight=

this thread gave me what I needed.

however now im curious as to if its possible to do this for the tomcat war installation as well since when i was messing with it the responsiveness of the server seemed a little more peppy.
disgustipated
 
Posts: 96
Joined: Wed Jan 26, 2011 4:18 pm
Location: US

Postby bushman4 » Mon Feb 28, 2011 1:43 pm

If you're running tomcat 6 on windows, you set subsonic.home as follows.

1. Run tomcat6w.exe
2. Click on the Java tab
3. Add "-Dsubsonic.home=d:\subhome" to the Java Options field.
4. Click OK

This sets the subsonic.home system variable globally for all servlets in that tomcat instance.

Someday I'd love to see this able to be set per servlet, so you can run multiple servlets under one instance of tomcat, but because this is currently a system variable, that's not currently possible.

HTH,

Glenn
Last edited by bushman4 on Mon Feb 28, 2011 2:29 pm, edited 1 time in total.
User avatar
bushman4
 
Posts: 875
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Postby disgustipated » Mon Feb 28, 2011 2:26 pm

Fantastic!
Thank you!
disgustipated
 
Posts: 96
Joined: Wed Jan 26, 2011 4:18 pm
Location: US


Return to Help

Who is online

Users browsing this forum: No registered users and 16 guests