|
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 |
#1
|
||||
|
||||
Plugin: SageTV Web Interface V2 for Jetty
Version 2.25 of nielm's SageTV Web Interface introduces support for running in the Jetty web server in addition to existing support for the Tiny Java Web Server (TJWS). Up to this point, support for the web interface has been provided on the original thread. Support will continue to be provided there, but questions about Jetty setup, feature comparison, etc should be discussed in this thread.
See post 2356 in the other thread for the version 2.25 announcement. Jetty Support This release has a new build included that will deploy the web interface so it runs in Jetty. A lot of work went into maintaining compatibility so RSS and XML links from 3rd party apps that use the web interface as a data source will still work. The previous downloads for running nielm's web interface on its own web server (Tiny Java Web Server - TJWS) are still available for the time being, but it's definitely moving in the direction of being deployed in Jetty. Version 2.x will continue to be supported on TJWS, but version 3 will only run on Jetty. Installation See the wiki page for instructions on installing the web interface on Jetty and for migrating if you were running the web interface on TJWS. Downloads Beginning with this release, three downloads will be delivered for the web interface.
The first and second choices are Nielm's original webserver that runs on Tiny Java Web Server (TJWS). One in zip format and one with a Windows 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 download if you want to run it in Jetty. No matter what you should only download and install ONE of these three. [Thanks to sleonard for clarifying the downloads.]
__________________
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; 03-25-2010 at 02:00 PM. Reason: Fix download links |
#2
|
||||
|
||||
This post intentionally left non-blank. If there had been something to post here, it would have been posted here; however, there is currently nothing of importance to say here. Nothing of importance.
__________________
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. |
#3
|
|||
|
|||
Which jar files do we remove? I'll check to see what was added when I installed, but I'm concerned that I might accidentally remove a shared jar.
Thanks
__________________
SageTV v9.1.10.479 on Ubuntu (testing v9.1.10.479 on Debian and Win10) |
#4
|
||||
|
||||
Quote:
__________________
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. |
#5
|
|||
|
|||
Fixed
Quote:
The unzip was successful as there is a new /webserver folder and the new context file is in the /jetty/contexts folder. It appears from the context.xml that /sage is the proper address to append to the server and port. I already have jetty working and can access sagealert and bmt. To try to use the new jetty version of the Web User Interface, I used the same address as before, but changed the port to the jetty port. Is there some other change to the address, or have I missed something else? http://sageserver:8080/bmt/ opens bmt user interface page http://sageserver:8080/sagealert/ opens sagealert page http://sageserver:8080/sage/ result is error 404 http://sageserver:8080/sage/home result is error 404 If I use the old port: http://sageserver:8081/sage/Home, then I get a Failed to Connect which I would expect. What am I missing? Thanks Edit: Problem Solved! I was still running v1.5 of the Jetty Starter. I wasn't subscribed to that thread and my other jetty apps were working fine, so I missed the 1.6 upgrade. Upgraded Jetty Starter to v1.6 and all is good. Thanks jreichen for Jetty Starter and the new Jetty version of the Web Interface. Thanks Brent for the upgrade instructions. Thanks nielm for the Web User Interface.
__________________
SageTV v9.1.10.479 on Ubuntu (testing v9.1.10.479 on Debian and Win10) Last edited by rmac321; 09-23-2009 at 09:40 AM. Reason: Fixed |
#6
|
||||
|
||||
I'm having this problem too. I haven't actually removed the jar files yet.
|
#7
|
|||
|
|||
It worked for me (after I stopped and started SageTV). Make sure you've done that (including stopping and starting the service if used).
There may be a way to just restart jetty but I don't know how to do that. Restarting SageTV is easy for me to do. Regards, Brad |
#8
|
||||
|
||||
But what was the URL?
|
#9
|
|||
|
|||
The following work for me:
http://localhost:8080/sage/Home http://localhost:8080/sjq/SJQClient.html Also: http://localhost:8080/ Shows a list of installed applications with their links (on a page with a 404 error). Regards, Brad |
#10
|
||||
|
||||
All I get are 404 errors on the first and last link. I don't use SJQ so it doesn't surprise me that that one won't work. On the last one there are no links just the plain 404. Also on the last one I get a forbidden message.
Edit: I got it now. I thought the Sage Service was shut down when I extracted the files, but apparently not. Anyhow it's working fine now. Last edited by toricred; 09-19-2009 at 06:35 PM. |
#11
|
||||
|
||||
Now DVRMS Toolbox can't connect. Any thoughts? I'm also going to post in babgvant's forum.
|
#12
|
||||
|
||||
Quote:
Quote:
If that doesn't work, turn on SageTV's debug logging and see if the log has anything helpful.
__________________
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. |
#13
|
||||
|
||||
Right now there's no way to restart Jetty. Jetty's API supports restarts but the plugin doesn't support it right now. I'd like to create some tools to make installation and configuration of Jetty easier, it's just a matter of having time to do it and its priority on the feature list.
__________________
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. |
#14
|
||||
|
||||
I haven't used that plugin. The web server should still support all the URLs that other plugins rely on. If you can provide some details about what doesn't work then I'll try to fix the incompatibility.
__________________
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. |
#15
|
||||
|
||||
I figured out the problem with DTB, but it is strange. It actually only fails when testing the config because it is trying to go to /sage/home (all lower case). I've posted that on babgvant's forum and hopefully he'll just make a change to how he tests.
|
#16
|
||||
|
||||
Migration instructions for people who currently have https
Jreichen, thank you for providing instructions on how to migrate to all Jetty. However, I am using https for Neilms webserver. Could you please update the intructions for people who want to move over to Jetty AND also retain their https capability? I followed the instructions for getting Neilms webserver to use https. I would like to also use https after switching to Jetty. I currently have Jetty 1.6 up and running.
Thanks so much Quote:
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming ***RIP SageTV*** |
#17
|
|||
|
|||
Quote:
Quote:
I'll also try to reinstall to see if that helps. I was hoping I just missed something obvious.
__________________
SageTV v9.1.10.479 on Ubuntu (testing v9.1.10.479 on Debian and Win10) |
#18
|
|||
|
|||
Stopped or Started?
I know part of the beauty of jetty is that you don't have to stop the jetty server when you install a new app. But, does the Jetty Server need to be running when you install/extract jetty apps?
The reason I ask is because I had the Sage Service stopped when I extracted v2.25 because I needed to stop the service to make the sage.properties mods and delete the jar files. It was still stopped while I extracted v2.25. I just re-extracted v2.25 without stopping the service, but still no joy.
__________________
SageTV v9.1.10.479 on Ubuntu (testing v9.1.10.479 on Debian and Win10) |
#19
|
||||
|
||||
Quote:
__________________
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. |
#20
|
|||
|
|||
Amazing job.... and this was very easy to switch to use the Jetty version (probably easy given I already am using Jetty and have other war files installed). Keep up the great work.
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings) Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos) Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin) Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on) |
Tags |
web |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
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 |