SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Reply
 
Thread Tools Search this Thread Display Modes
  #81  
Old 10-13-2009, 06:05 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
I renamed it servlet.jar.old so it should be getting picked up. I will try turning debug logging on and see what I get. Will it show which Jetty modules are being loaded?

Edit- What am I looking for in the logs - does this help?

Code:
Tue 10/13 20:06:45.956 [Jetty Starter@13757ec] (org.mortbay.log) <DEBUG> XML org.mortbay.jetty.webapp.WebAppContext@18c9b49{/,null}.setContextPath(/sage)
Tue 10/13 20:06:45.957 [Jetty Starter@13757ec] (org.mortbay.log) <DEBUG> XML org.mortbay.jetty.webapp.WebAppContext@18c9b49{/sage,null}.setWar(C:\Program Files\SageTV\SageTV\jetty/webapps/nielm_sagewebserver.war)
Tue 10/13 20:06:45.957 [Jetty Starter@13757ec] (org.mortbay.log) <DEBUG> XML org.mortbay.jetty.webapp.WebAppContext@18c9b49{/sage,C:\Program Files\SageTV\SageTV\jetty/webapps/nielm_sagewebserver.war}.setExtractWAR(true)
Tue 10/13 20:06:45.962 [Jetty Starter@13757ec] (org.mortbay.log) <DEBUG> XML org.mortbay.jetty.webapp.WebAppContext@18c9b49{/sage,C:\Program Files\SageTV\SageTV\jetty/webapps/nielm_sagewebserver.war}.setCopyWebDir(true)
Tue 10/13 20:06:45.967 [Jetty Starter@13757ec] (org.mortbay.log) <WARN> Config error at <Set name="mimeTypes">
      <New class="sagex.jetty.content.MimeTypes"><Set name="location">webserver/mime.types</Set></New>
   </Set>
Tue 10/13 20:06:45.967 [Jetty Starter@13757ec] (org.mortbay.log) <WARN> EXCEPTION 
Tue 10/13 20:06:45.967 [Jetty Starter@13757ec] java.lang.ClassNotFoundException: sagex.jetty.content.MimeTypes
Tue 10/13 20:06:45.967 [Jetty Starter@13757ec] 	at java.net.URLClassLoader$1.run(Unknown Source)
Tue 10/13 20:06:45.967 [Jetty Starter@13757ec] 	at java.security.AccessController.doPrivileged(Native Method)
Tue 10/13 20:06:45.967 [Jetty Starter@13757ec] 	at java.net.URLClassLoader.findClass(Unknown Source)
Tue 10/13 20:06:45.967 [Jetty Starter@13757ec] 	at java.lang.ClassLoader.loadClass(Unknown Source)
Tue 10/13 20:06:45.968 [Jetty Starter@13757ec] 	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
Tue 10/13 20:06:45.968 [Jetty Starter@13757ec] 	at java.lang.ClassLoader.loadClass(Unknown Source)
Tue 10/13 20:06:45.968 [Jetty Starter@13757ec] 	at org.mortbay.util.Loader.loadClass(Loader.java:91)
Tue 10/13 20:06:45.968 [Jetty Starter@13757ec] 	at org.mortbay.xml.XmlConfiguration.nodeClass(XmlConfiguration.java:216)
Tue 10/13 20:06:45.968 [Jetty Starter@13757ec] 	at org.mortbay.xml.XmlConfiguration.newObj(XmlConfiguration.java:564)
Tue 10/13 20:06:45.968 [Jetty Starter@13757ec] 	at org.mortbay.xml.XmlConfiguration.itemValue(XmlConfiguration.java:907)
Tue 10/13 20:06:45.968 [Jetty Starter@13757ec] 	at org.mortbay.xml.XmlConfiguration.value(XmlConfiguration.java:829)
Tue 10/13 20:06:45.968 [Jetty Starter@13757ec] 	at org.mortbay.xml.XmlConfiguration.set(XmlConfiguration.java:278)
Tue 10/13 20:06:45.968 [Jetty Starter@13757ec] 	at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:240)
Tue 10/13 20:06:45.968 [Jetty Starter@13757ec] 	at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:206)
Tue 10/13 20:06:45.968 [Jetty Starter@13757ec] 	at org.mortbay.jetty.deployer.ContextDeployer.createContext(ContextDeployer.java:369)
Tue 10/13 20:06:45.968 [Jetty Starter@13757ec] 	at org.mortbay.jetty.deployer.ContextDeployer.deploy(ContextDeployer.java:263)
Tue 10/13 20:06:45.968 [Jetty Starter@13757ec] 	at org.mortbay.jetty.deployer.ContextDeployer.access$000(ContextDeployer.java:67)
Tue 10/13 20:06:45.969 [Jetty Starter@13757ec] 	at org.mortbay.jetty.deployer.ContextDeployer$ScannerListener.fileAdded(ContextDeployer.java:89)
Tue 10/13 20:06:45.969 [Jetty Starter@13757ec] 	at org.mortbay.util.Scanner.reportAddition(Scanner.java:417)
Tue 10/13 20:06:45.969 [Jetty Starter@13757ec] 	at org.mortbay.util.Scanner.reportDifferences(Scanner.java:331)
Tue 10/13 20:06:45.969 [Jetty Starter@13757ec] 	at org.mortbay.util.Scanner.scan(Scanner.java:286)
Tue 10/13 20:06:45.969 [Jetty Starter@13757ec] 	at org.mortbay.jetty.deployer.ContextDeployer.doStart(ContextDeployer.java:327)
Tue 10/13 20:06:45.969 [Jetty Starter@13757ec] 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
Tue 10/13 20:06:45.969 [Jetty Starter@13757ec] 	at org.mortbay.jetty.Server.doStart(Server.java:199)
Tue 10/13 20:06:45.969 [Jetty Starter@13757ec] 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
Tue 10/13 20:06:45.969 [Jetty Starter@13757ec] 	at sagex.jetty.starter.JettyInstance.doStart(Unknown Source)
Tue 10/13 20:06:45.969 [Jetty Starter@13757ec] 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
Tue 10/13 20:06:45.969 [Jetty Starter@13757ec] 	at sagex.jetty.starter.Main.restartJetty(Unknown Source)
Tue 10/13 20:06:45.969 [Jetty Starter@13757ec] 	at sagex.jetty.starter.Main.run(Unknown Source)
Tue 10/13 20:06:45.970 [Jetty Starter@13757ec] 	at java.lang.Thread.run(Unknown Source)
Tue 10/13 20:06:45.970 [Jetty Starter@13757ec] (org.mortbay.log) <WARN> ContextDeployer$Scanner failed on 'C:\Program Files\SageTV\SageTV\jetty\contexts\nielm_websrv.context.xml
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server

Last edited by wayner; 10-13-2009 at 07:54 PM.
Reply With Quote
  #82  
Old 10-14-2009, 08:29 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
You don't have the latest copy of jetty-starter.jar in your JARs folder. Did you upgrade the Jetty plugin to 1.6, and did that jar file get overwritten when you upgraded Jetty? If you open that jar file in WinZip you should see a sagex.jetty.content.MimeTypes file in there.
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun.
Extender: STP-HD300, Harmony 550 Remote,
Netgear MCA1001 Ethernet over Coax.
SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client
, Java 1.6.
Plugins: Jetty, Nielm's Web Server, Mobile Web Interface.

Reply With Quote
  #83  
Old 10-14-2009, 08:38 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
I will check that out - I haven't upgraded Jetty recently - I thought I was running 1.6. I think the last time I upgraded was around the time that Slugger released SJQ 2.0.

When upgrading what old files can I keep - can I keep all of the .properties files so that my config such as password, ports, etc. don't change?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server

Last edited by wayner; 10-14-2009 at 09:11 PM.
Reply With Quote
  #84  
Old 10-14-2009, 09:34 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Yes, backup JettyStarter.properties and realm.properties if you have made any changes to them. Then reapply the changes after extracting the zip file.
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun.
Extender: STP-HD300, Harmony 550 Remote,
Netgear MCA1001 Ethernet over Coax.
SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client
, Java 1.6.
Plugins: Jetty, Nielm's Web Server, Mobile Web Interface.

Reply With Quote
  #85  
Old 10-14-2009, 09:40 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Quote:
Originally Posted by matt91 View Post
I'm not sure if you guys have any place you'd like feature requests sent, so I'll just toss this one out here.

In some future release, would it be possible to list the year in the date field? I notice it the "past airings" for an old favorite. I know I can click through to see the details screen which reveals the year, but it'd be nice to have it on the listing here as well. There might be other no-year date listings elsewhere, but I just happened to notice this one.

thanks
Matt

(this airing is 3 years old...glad my wiz.bin is still going strong!)

I just uploaded 2.26 snapshot build 30 to SourceForge that includes this change. The files aren't visible yet but should show up shortly.
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun.
Extender: STP-HD300, Harmony 550 Remote,
Netgear MCA1001 Ethernet over Coax.
SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client
, Java 1.6.
Plugins: Jetty, Nielm's Web Server, Mobile Web Interface.

Reply With Quote
  #86  
Old 10-15-2009, 01:54 PM
Comitizer Comitizer is offline
Sage Advanced User
 
Join Date: Feb 2009
Location: Calgary, Alberta, Canada
Posts: 174
Customize menu

Hello All,

First off let me say that I love the new Jetty version of the web interface. I installed it a few days ago and everything seems to be working perfectly.

I set up a reverse proxy so that I can use the interface through my WHS site (which is working very well) but I'd like to edit the menu so that it has a link back to my WHS site.

Is this supported in the jetty version? I tried to edit the menu file but I couldn't save it (Windows gave me a sharing violation). I know I can probably get around it by stopping Sage but I'm concerned that my menu might get overwritten next time jetty deploys the war. Is there a better way to do this?

Thanks!
Reply With Quote
  #87  
Old 10-15-2009, 02:12 PM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,185
Quote:
Originally Posted by jreichen View Post
I just uploaded 2.26 snapshot build 30 to SourceForge that includes this change. The files aren't visible yet but should show up shortly.
great, thanks. i'll give it a go this weekend.

edit: Just installed jetty build 30, and it seems to work fine. Thanks for adding the year so quickly.

Matt
__________________
Server: Ubuntu 16.04 running Sage for Linux v9

Last edited by matt91; 10-16-2009 at 06:34 AM.
Reply With Quote
  #88  
Old 10-15-2009, 02:21 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Anyone know why this happens? I believe it's always been this way. Wondering if there was a way to hide this?
Attached Images
File Type: png squared.png (22.8 KB, 550 views)
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #89  
Old 10-15-2009, 05:27 PM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
I've read through this thread about 6 times and I still can't figure out what I've done wrong, so here's what I did, step-by-step:

*** Instructions deleted because they were outdated ***
See this post for current instructions.


I'm pretty sure that's everything. I'm attaching the error log from Jetty. I do see some things that point to an issue, but I don't understand them.

EDIT: After examining the log file and looking at the other two files you provided (exe and zip) on the original post, do I need to download one of those, as well as the "new" one? I'm thinking that's where I got all screwed up. It sounded like I only needed the new one, but that's not the case, is it?
Attached Files
File Type: txt 2009_10_15.stderrout.txt (53.5 KB, 514 views)
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7

Last edited by Skirge01; 11-06-2009 at 07:22 AM.
Reply With Quote
  #90  
Old 10-15-2009, 08:49 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
I upgraded Jetty to 1.6 (by unzipping the 1.6 file to my Sage directory slecting overwrite all), applied my changes to jettystarter.properties and realm.properties but now it appears that Jetty won't start at all as all of my Jetty apps are broken. Here is what looks like errors in the log file.

It appears as if there is an error for mimeTypes and addHandler, etc


Code:
Thu 10/15 22:29:11.976 [Jetty Starter@12c8b14] (org.mortbay.log) <DEBUG> XML org.mortbay.jetty.handler.ContextHandler@1d7a36e{/,null}.setResourceBase(C:\Program Files\SageTV\SageTV\jetty/static)
Thu 10/15 22:29:11.977 [Jetty Starter@12c8b14] (org.mortbay.log) <DEBUG> XML new class org.mortbay.jetty.handler.ResourceHandler
Thu 10/15 22:29:11.977 [Jetty Starter@12c8b14] (org.mortbay.log) <DEBUG> XML ResourceHandler@1095693.setMimeTypes(sagex.jetty.content.MimeTypes@2abefe)
Thu 10/15 22:29:11.978 [Jetty Starter@12c8b14] (org.mortbay.log) <WARN> Config error at <Set name="mimeTypes">
                        <Ref id="mimeTypes"/>
                      </Set>
Thu 10/15 22:29:11.978 [Jetty Starter@12c8b14] (org.mortbay.log) <WARN> Config error at <Call name="addHandler"><Arg>
                    <New class="org.mortbay.jetty.handler.ResourceHandler"><Set name="mimeTypes">
                        <Ref id="mimeTypes"/>
                      </Set></New>
                  </Arg></Call>
Thu 10/15 22:29:11.978 [Jetty Starter@12c8b14] (org.mortbay.log) <WARN> Config error at <Set name="handlers">
          <Array type="org.mortbay.jetty.Handler"><Item>
              <Ref id="RewriteHandler"><Set name="handler">
                  <New id="Contexts" class="org.mortbay.jetty.handler.ContextHandlerCollection"/>
                </Set></Ref>
            </Item><Item>
              <New class="org.mortbay.jetty.handler.ContextHandler"><Set name="mimeTypes">
                  <New id="mimeTypes" class="sagex.jetty.content.MimeTypes"/>
                </Set><Set name="contextPath">/</Set><Set name="resourceBase"><SystemProperty name="jetty.home" default="."/>/static</Set><Call name="addHandler"><Arg>
                    <New class="org.mortbay.jetty.handler.ResourceHandler"><Set name="mimeTypes">
                        <Ref id="mimeTypes"/>
                      </Set></New>
                  </Arg></Call></New>
            </Item><Item>
              <New id="DefaultHandler" class="org.mortbay.jetty.handler.DefaultHandler"><Set name="serveIcon">false</Set></New>
            </Item><Item>
              <New id="RequestLog" class="org.mortbay.jetty.handler.RequestLogHandler"/>
            </Item></Array>
        </Set>
Thu 10/15 22:29:11.978 [Jetty Starter@12c8b14] (org.mortbay.log) <WARN> Config error at <Set name="handler">
      <New id="Handlers" class="org.mortbay.jetty.handler.HandlerCollection"><Set name="handlers">
          <Array type="org.mortbay.jetty.Handler"><Item>
              <Ref id="RewriteHandler"><Set name="handler">
                  <New id="Contexts" class="org.mortbay.jetty.handler.ContextHandlerCollection"/>
                </Set></Ref>
            </Item><Item>
              <New class="org.mortbay.jetty.handler.ContextHandler"><Set name="mimeTypes">
                  <New id="mimeTypes" class="sagex.jetty.content.MimeTypes"/>
                </Set><Set name="contextPath">/</Set><Set name="resourceBase"><SystemProperty name="jetty.home" default="."/>/static</Set><Call name="addHandler"><Arg>
                    <New class="org.mortbay.jetty.handler.ResourceHandler"><Set name="mimeTypes">
                        <Ref id="mimeTypes"/>
                      </Set></New>
                  </Arg></Call></New>
            </Item><Item>
              <New id="DefaultHandler" class="org.mortbay.jetty.handler.DefaultHandler"><Set name="serveIcon">false</Set></New>
            </Item><Item>
              <New id="RequestLog" class="org.mortbay.jetty.handler.RequestLogHandler"/>
            </Item></Array>
        </Set></New>
    </Set>
Thu 10/15 22:29:11.979 [Jetty Starter@12c8b14] (org.mortbay.log) <INFO> class org.mortbay.jetty.handler.ResourceHandler.setMimeTypes(class sagex.jetty.content.MimeTypes)
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #91  
Old 10-15-2009, 09:31 PM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by wayner View Post
I upgraded Jetty to 1.6 (by unzipping the 1.6 file to my Sage directory slecting overwrite all), applied my changes to jettystarter.properties and realm.properties but now it appears that Jetty won't start at all as all of my Jetty apps are broken. Here is what looks like errors in the log file.

It appears as if there is an error for mimeTypes and addHandler, etc
IIRC there are versioned (duplicate) jars that need to be removed from the \SageTV\JARS folder ... the install (upgrade) instructions in the wiki should tell you which ones to remove, etc
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer
Reply With Quote
  #92  
Old 10-16-2009, 06:39 AM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,185
Is it possible to perhaps update the first post to clarify the file naming convention? I just downloaded and installed the snapshot build 30, but I initially grabbed the TJWS version because I wasn't sure which to get (I thought I wanted the one without "nielm" in the name - which was incorrect).

you can deduce the names by hovering over the list above, but it might be cleaner to have a naming convention clearly specified.

thanks
Matt
__________________
Server: Ubuntu 16.04 running Sage for Linux v9

Last edited by matt91; 10-16-2009 at 09:51 AM.
Reply With Quote
  #93  
Old 10-16-2009, 08:55 AM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
I was thinking the same thing. At this point, I'm pretty confident that's where I screwed up. So, you actually need either the 1st or 2nd one, plus the 3rd one?
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7
Reply With Quote
  #94  
Old 10-16-2009, 09:30 AM
sleonard's Avatar
sleonard sleonard is offline
Sage Icon
 
Join Date: Nov 2003
Posts: 1,506
The first and second choices are Nielm's original webserver. One in zip format and one with an installer. Neither of these are for Jetty.

The 3rd one is the Jetty version of Nielm's webserver. This is the only one you should d/l if you want to run it in Jetty.

No matter what you should only d/l and install ONE of these three.

S
Reply With Quote
  #95  
Old 10-16-2009, 10:15 AM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
Darn. Then I'm back to not knowing what I messed up with my installation. Thanks for preventing me from doing further harm, at least!
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7
Reply With Quote
  #96  
Old 10-17-2009, 06:33 AM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
I figured out my issue. I needed to remove this line from sage.properties:

Quote:
nielm/webserver/root=webserver
Additionally, while I haven't verified every function, this line no longer seems to serve any purpose:

Quote:
nielm/webserver/port=xxxx
Great work on this, jreichen! To recap, here are the exact steps I followed for switching to the Jetty version:

Please see the official Wiki Page from jreichen for the latest instructions. I'm placing the text which was below into an attachment just so that the original info isn't lost. I'll be happy to delete it once some people have verified the Wiki (no offense intended to jreichen). Just precautionary.
Attached Files
File Type: txt Saved text.txt (1.3 KB, 401 views)
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7

Last edited by Skirge01; 12-28-2009 at 10:10 PM. Reason: Official Wiki page is now live, so my instructions should be obsolete.
Reply With Quote
  #97  
Old 10-17-2009, 08:14 AM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Thanks for documenting your steps. These will eventually be on the wiki but I haven't had time to post them yet. Thanks to all you early adopters for helping to iron things out.

Steps 8 and 9 are not required for SSL to work. dataConstraint=2 always forces the connection over to the SSL port when you try to access the non-SSL port. Changing authentication to true for /public URLs would require 3rd party plugins and media players to authenticate when accessing RSS links and media for playback and some do not support that.

If you don't apply steps 8 and 9, you can still access your server using SSL by entering the URL https://<server>:<jetty_ssl_port>/sage/Home in your browser.
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun.
Extender: STP-HD300, Harmony 550 Remote,
Netgear MCA1001 Ethernet over Coax.
SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client
, Java 1.6.
Plugins: Jetty, Nielm's Web Server, Mobile Web Interface.


Last edited by jreichen; 10-17-2009 at 11:35 AM. Reason: XML links are not accessed via /public URLs
Reply With Quote
  #98  
Old 10-17-2009, 08:51 AM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
Quote:
Originally Posted by jreichen View Post
Thanks for documenting your steps. These will eventually be on the wiki but I haven't had time to post them yet. Thanks to all you early adopters for helping to iron things out.

Steps 8 and 9 are not required for SSL to work. dataConstraint=2 always forces the connection over to the SSL port when you try to access the non-SSL port. Changing authentication to true for /public URLs would require 3rd party plugins and media players to authenticate when accessing RSS links, XML links, and media for playback and some do not support that.

If you don't apply steps 8 and 9, you can still access your server using SSL by entering the URL https://<server>:<jetty_ssl_port>/sage/Home in your browser.
Just so that I'm clear and can update my post accurately, you're saying that the second location which has the dataConstraint=2 is only for 3rd party access. So, that doesn't need to be set and the authenticate part doesn't need to be set to true? But, both need to be set in the first location, correct?

If that's the case, then the first dataConstraint should be set to 2 only if you want to force SSL and the authenticate still needs to be set to true. Am I getting this straight yet?
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7
Reply With Quote
  #99  
Old 10-17-2009, 11:34 AM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Quote:
Originally Posted by Skirge01 View Post
Just so that I'm clear and can update my post accurately, you're saying that the second location which has the dataConstraint=2 is only for 3rd party access.
Yes. But in my post I said one of the things it applies to is XML links. I looked over the code again and that's incorrect.

Quote:
Originally Posted by Skirge01 View Post
So, that doesn't need to be set and the authenticate part doesn't need to be set to true?
It really depends on whether a user accesses /public URLs with a client that can handle SSL ("dataConstraint") and/or authentication ("authenticate"). But as a general rule, that setting should retain the default values so clients that don't handle authentication can access those URLs.

Quote:
Originally Posted by Skirge01 View Post
But, both need to be set in the first location, correct?
The settings are independent of each other. "Authenticate" should always be true (unless the user wants to completely disable authentication for this app), and "dataConstraint" can be set to "2" if the user wants to force everything over to the SSL port.

I guess that's what you're saying here:

Quote:
Originally Posted by Skirge01 View Post
If that's the case, then the first dataConstraint should be set to 2 only if you want to force SSL and the authenticate still needs to be set to true. Am I getting this straight yet?
Hopefully that helps.
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun.
Extender: STP-HD300, Harmony 550 Remote,
Netgear MCA1001 Ethernet over Coax.
SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client
, Java 1.6.
Plugins: Jetty, Nielm's Web Server, Mobile Web Interface.

Reply With Quote
  #100  
Old 10-17-2009, 04:45 PM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
I believe I got it then. I edited the steps above, deleting the original step 9 and changing step 8, based on what you said. Hopefully I got it this time.
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7
Reply With Quote
Reply

Tags
web


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Plugin: Web User Interface for SageTV 2.2-6.6 (V2.25 18 Sep 2009) nielm SageTV Customizations 2644 10-24-2016 10:18 AM
Plugin: Jetty Starter 1.6 jreichen SageTV Customizations 122 09-07-2012 06:48 PM
Plugin: Mobile Web Interface 1.2 jreichen SageTV Customizations 281 06-17-2011 02:20 PM
SageTV Web Interface - recording padding snowyb79 SageTV Customizations 1 03-16-2011 01:10 AM


All times are GMT -6. The time now is 02:43 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.