|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#41
|
||||
|
||||
I don't think BMT includes JETTY.
|
#42
|
|||
|
|||
Sorry, I meant the BMT.xml
I am using the latest JETTY... Also, I have Sage set as a service if that matters at all (Which is how I had it before and it was fine.) |
#43
|
||||
|
||||
Quote:
If you post those files here I can review them as well.
__________________
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. |
#44
|
||||
|
||||
Awesome, I've had a busy week and am just now able to play around with all this. I'll let you know how it goes Thanks so much!
|
#45
|
|||
|
|||
Here is the glitch:
Sun 8/23 14:17:26.351 [SageTV@1766806] Loading startup runnable:sagex.jetty.starter.main Sun 8/23 14:17:26.352 [SageTV@1766806] ERROR Loading startup runnable extension of:java.lang.ClassNotFoundException: sagex.jetty.starter.main |
#46
|
|||
|
|||
OK...
When I just posted that, I noticed for the first time that you have Main and not main in your instructions... Changed that and now it works... |
#47
|
||||
|
||||
Quote:
-Stopped SageTV (clients and service) -Installed the new Jetty files over the existing ones after I saved the JettyStarter.properties and jetty/etc/realm.properties files and then restored them -Edited SageClient.properties by adding sagex.jetty.starter.Main to load_at_startup_runnable_classes -Copied JettyStarter.properties to JettyStarterClient.properties and made the port number one higher than before (it's an available port) -Started SageTV service -Started local client -Went to localhost:newportnumber and got "Page not found - connection failure" -Went to localhostriginalportnumber and got the list of available contexts / webapps (sagetweet, sagem, and org.mortbay.jetty.handler.ContextHandler... What can I try next for you? (and thanks again for working on this! -- also if email is best, PM and I'll send you my email address...) |
#48
|
||||
|
||||
I will say that the jetty server is up and running fine now on my remote client (no problems, as you predicted ); it's the local client where I'm having problems. Cheers!
|
#49
|
||||
|
||||
Wanted to say that I was able to upgrade successfully within a matter of 10 minutes. Absolutely no issues at all following the directions. I just needed to determine which version I was already running, so I knew which steps to follow. I wish all upgrades were this easy! Excellent job and thanks for the work on this!
__________________
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 |
#50
|
||||
|
||||
Quote:
Does the Jetty installed for SageTV server work if SageTV server is running but client is not? How about the same case for the SageTV client without the server running (I'm not even sure client will start up if it doesn't find the server)? Can you turn on SageTV logging and post the SageTV client and server logs as well as the latest Jetty request log from the jetty/logs folder?
__________________
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. |
#51
|
||||
|
||||
I'm having trouble getting CGI working via Jetty, I looked at the doc and it didn't make much sense to me.
http://jetty.mortbay.org/jetty5/faq/...ent_t_CGI.html The best I can figure is that I add this to my jetty.xml Code:
<Call name="addContext"> <Arg>/cgi-bin/*</Arg> <Set name="ResourceBase">cgi-bin</Set> <Set name="ServingDynamicServlets">TRUE</Set> <Call name="addServlet"> <Arg>Common Gateway Interface</Arg> <Arg>/</Arg> <Arg>com.mortbay.Servlet.CGI</Arg> </Call> </Call> |
#52
|
||||
|
||||
I am having issues getting Jetty setup..
I am copying the files to the Sage directory, adding Code:
sagex.jetty.starter.Main and changing the port to 8070 in JettyStarter.Properties No Joy Turned in Sage Logging and this is what I get AFTER Jetty Loads Code:
Thu 9/24 0:45:35.626 [Jetty Starter@1b0b0a0] 2009-09-24 00:45:35.929::WARN: Config error at <Set name="mimeTypes"> <Ref id="mimeTypes"/> </Set> Thu 9/24 0:45:35.627 [Jetty Starter@1b0b0a0] 2009-09-24 00:45:35.929::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 9/24 0:45:35.627 [Jetty Starter@1b0b0a0] 2009-09-24 00:45:35.929::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 9/24 0:45:35.628 [Jetty Starter@1b0b0a0] 2009-09-24 00:45:35.929::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 9/24 0:45:35.628 [Jetty Starter@1b0b0a0] 2009-09-24 00:45:35.929::INFO: class org.mortbay.jetty.handler.ResourceHandler.setMimeTypes(class sagex.jetty.content.MimeTypes) |
#53
|
||||
|
||||
If you're upgrading the plugin, did you remove the jar files for Jetty 6.1.7 and 6.1.11? There are instructions on the wiki on how to do that.
The mime type API's weren't available in those versions (the plugin now comes with 6.1.19) so I suspect you have old jar files in your classpath.
__________________
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. |
#54
|
||||
|
||||
Darcilicious, were you able to get Jetty running in both the SageTV client and server on the same machine?
__________________
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. |
#55
|
||||
|
||||
Quote:
Code:
<Set name="ResourceBase">/cgi-bin</Set>
__________________
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. |
#56
|
|||
|
|||
first thanks for putting this together... its fantastic to finally be running a single webserver...
feature request... or maybe you can already do this but i dont know how when i navigate to http :// ipaddress : port/ i get a jetty 403 forbidden error... it would be fantastic if a list of links to all the installed applications (nielms Sage, Sagem, bmt, sagealert, sjq, etc, etc) was displayed instead... either at http :// ipaddress : port/ or ../Home
__________________
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 |
#57
|
|||
|
|||
Figured it might be helpful to crosspost some Jetty-related information I discovered while trying to work out a problem with BMT. Basically, on Windows the temporary files/directories created by Jetty don't always get cleaned up properly. In the case of BMT, this caused it to work fine the first time, but be screwed up on a Sage restart.
Anyone using a temporary directory in their jetty app should probably think about getting rid of it. Here's a link to the bug report: http://jira.codehaus.org/browse/JETTY-848 But it's a bug in the JVM itself (reported six years ago) and it looks like they're not too interested in fixing it: http://bugs.sun.com/view_bug.do?bug_id=4950148 |
#58
|
||||
|
||||
Quote:
__________________
Currently using SageTV Media Center Server on Windows 7, SageTV Client as an HTPC on Windows 7, and an HD Theater HD200. The server controls 3 Motorola DCH-3200 cable boxes and 3 Hauppauge HD-PVRs (all Rev F1) with HD audio and changes channels via firewire WITH NO LOCKUPS. It's awesome. 4 Steps to Perfect Stutter Free Playback for SageTV Quick Guide: How to Bitstream Audio in Windows 7 |
#59
|
|||
|
|||
Quote:
A better approach would be for someone to write a script or program that can parse the xml files in the contexts directory and check them regularly for any updates. The script or program could then create and update a html file in the jetty\webapps\SageWebApp\webapp directory (assuming the Mobile Web App is installed) which is password protected by default. The script or program should be able to create or update the index.html with the appropriate links based on the info it parses out of the context xml files, and a .properties file could be used to override link names or to add additional links that you think would be useful that aren't going to be found in the context xml files. Then an index.html welcome page with a link to the new index.html in the SageWebApp\webapp directory could be created in the jetty\static directory. Or maybe a new Jetty addon could be created to accomplish the same thing, I don't know. Just thinking out loud here.
__________________
--Jason Server Hardware: GIGABYTE GA-EP45-UD3R, Intel Q9550 CPU 2.83GHz, 11GB RAM, 1xHDHR, 1xHVR1600, 1xHVR2250 29TB Server Storage: 1TB SSD (OS), 1TB (data), 2x6TB+2x10TB (22TB FlexRaid storage pool), 2x2TB (recordings), 1x750GB (VMs). Server Software: Win10 Pro x64 OS, SageTV 64bit v9.2.0.441, Java 1.8 u241, PlayOn, Comskip (Donator) v0.82.003, WampServer v2.5. Clients: 3xHD300s, 2xHD100, 2xPlaceshifters |
#60
|
|||
|
|||
Quote:
Quote:
Quote:
__________________
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 |
Tags |
web |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugin: MizookLCD (Alternate SageTV LCDSmartie Plugin) | cslatt | SageTV Customizations | 48 | 06-11-2012 10:44 AM |
MediaPlayer Plugin/STV Import: Winamp Media Player Plugin | deria | SageTV Customizations | 447 | 12-11-2010 07:38 PM |
Hulu: Possible to Use XBMC Hulu Plugin to create SageTV Plugin? | Brent | SageTV Customizations | 8 | 02-24-2009 04:16 PM |
Plugin: MizookLCD | spook | SageTV Customizations | 2 | 08-12-2008 11:31 AM |
Caller ID Plugin | computer33 | SageTV Customizations | 1 | 04-20-2005 09:02 PM |