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
  #1  
Old 04-06-2010, 12:41 PM
ThePaladinTech's Avatar
ThePaladinTech ThePaladinTech is offline
Sage Aficionado
 
Join Date: Oct 2007
Location: South Lyon, MI
Posts: 452
Jetty? Simple Question

How do I install that? I see this item: Jetty Starter 1.6

I would like to try out the beta of Batch Metadata Importer ... but step 1 is install Jetty.

-And I don't want to screw it up
__________________
(current) SageServer: SageTV Open Source V9 - Virtual Ubuntu on Win10 HyperV MSI 970A-G46, AMD FX-8370 , SD Prime via OpenDCT, Donater ComSkip
Clients: HD-200, Nexus Player w/ Android miniclient
Storage: "nas" 16 drive Win10 w/ DrivePool running Plex, Emby, & SD PVR
Retired - Hava, MediaMVP, HD-100, HD-PVR, HVR-2250, Ceton InfiniTV4, Original (white) HDHomeRun Died - HD-100, HD-300
Reply With Quote
  #2  
Old 04-06-2010, 12:52 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
There's a wiki link in the first post of that thread. I just updated it to say the wiki includes installation instructions rather than just "more information."
__________________
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
  #3  
Old 04-06-2010, 12:59 PM
ThePaladinTech's Avatar
ThePaladinTech ThePaladinTech is offline
Sage Aficionado
 
Join Date: Oct 2007
Location: South Lyon, MI
Posts: 452
Fantastic - So I do install the jetty starter and then the batch metadata tool.

Seems to me I had one of nielms plugins in the past that needed Jetty as well.

Thanks for the quick reply
__________________
(current) SageServer: SageTV Open Source V9 - Virtual Ubuntu on Win10 HyperV MSI 970A-G46, AMD FX-8370 , SD Prime via OpenDCT, Donater ComSkip
Clients: HD-200, Nexus Player w/ Android miniclient
Storage: "nas" 16 drive Win10 w/ DrivePool running Plex, Emby, & SD PVR
Retired - Hava, MediaMVP, HD-100, HD-PVR, HVR-2250, Ceton InfiniTV4, Original (white) HDHomeRun Died - HD-100, HD-300
Reply With Quote
  #4  
Old 04-06-2010, 01:10 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Quote:
Originally Posted by enzominator View Post
Fantastic - So I do install the jetty starter and then the batch metadata tool.
Yes.

Quote:
Originally Posted by enzominator View Post
Seems to me I had one of nielms plugins in the past that needed Jetty as well.
Slugger, stuckless, and I created a new build last fall for Nielm's web server that will run on Jetty. That way you can run other web apps such as BMT and only have one web server listening for connections. The wiki has a list of some other apps that run on Jetty.
__________________
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
  #5  
Old 04-06-2010, 01:49 PM
ThePaladinTech's Avatar
ThePaladinTech ThePaladinTech is offline
Sage Aficionado
 
Join Date: Oct 2007
Location: South Lyon, MI
Posts: 452
Well I've installed both the jetty and the BMT ... when I go to the BMT web address I get this:

404 Not found
Rogatkin's JWS based on Acme.Serve $Revision: 1.24 $

if I stop the sage service I get nothing ... So sage is running a webserver on port 8080.

my sage.properties file has the following line:
Code:
load_at_startup_runnable_classes=net.sf.sageplugins.webserver.StartServer ; sagex.jetty.starter.Main
I do not use sageMC ... not sure what other webserver I may have going?? or is that not the problem.

Again thanks for any guidance on this.

Quick notes: I am running the following that MAY have a web server?
evil penquins hulu / playon plugin

and plugin for streaming web TV / Web Radio webfeed encoder

I'll update with proper links/ names to those two
__________________
(current) SageServer: SageTV Open Source V9 - Virtual Ubuntu on Win10 HyperV MSI 970A-G46, AMD FX-8370 , SD Prime via OpenDCT, Donater ComSkip
Clients: HD-200, Nexus Player w/ Android miniclient
Storage: "nas" 16 drive Win10 w/ DrivePool running Plex, Emby, & SD PVR
Retired - Hava, MediaMVP, HD-100, HD-PVR, HVR-2250, Ceton InfiniTV4, Original (white) HDHomeRun Died - HD-100, HD-300

Last edited by ThePaladinTech; 04-06-2010 at 01:52 PM. Reason: added info
Reply With Quote
  #6  
Old 04-06-2010, 01:56 PM
ThePaladinTech's Avatar
ThePaladinTech ThePaladinTech is offline
Sage Aficionado
 
Join Date: Oct 2007
Location: South Lyon, MI
Posts: 452
the other two items are:

Plugin: PlayOn in Online Services (Hulu, Netflix, Amazon VOD, etc.)

and

Arrow Utility: Web Radio and TV Encoder

I've got some other STVs - comskip, IMDB search, etc - but I doubt they would be meddling with this.
__________________
(current) SageServer: SageTV Open Source V9 - Virtual Ubuntu on Win10 HyperV MSI 970A-G46, AMD FX-8370 , SD Prime via OpenDCT, Donater ComSkip
Clients: HD-200, Nexus Player w/ Android miniclient
Storage: "nas" 16 drive Win10 w/ DrivePool running Plex, Emby, & SD PVR
Retired - Hava, MediaMVP, HD-100, HD-PVR, HVR-2250, Ceton InfiniTV4, Original (white) HDHomeRun Died - HD-100, HD-300
Reply With Quote
  #7  
Old 04-06-2010, 02:05 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
You're running the original build of Nielm's web interface that is bundled with another web server called Tiny Java Web Server (TJWS) in addition to running Jetty. See the wiki page for migrating from TJWS to Jetty. It has instructions for what you need to clean up and how to preserve settings when doing the migration.
__________________
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
  #8  
Old 04-07-2010, 04:52 PM
ThePaladinTech's Avatar
ThePaladinTech ThePaladinTech is offline
Sage Aficionado
 
Join Date: Oct 2007
Location: South Lyon, MI
Posts: 452
Well, I don't know what I am doing wrong but I still can't get this to work. it appears that i *do* have something else running on port 8080- not sage related, and I have no clue what it is because it just briefly brings up a page that say "there is nothing to see here, move along".

So I edited the jetty files to run on port 8500, but I get nothing. How do I test that Jetty is running? wouldn't I just go http://localhost:8500 and get a page that says something about jetty?

Any... *any* Ideas? I can tell you that as far as the original webserver (the old nielm one) I don't need to 'migrate' anything, it can be blown away. Thanks so much for all your help so far!
__________________
(current) SageServer: SageTV Open Source V9 - Virtual Ubuntu on Win10 HyperV MSI 970A-G46, AMD FX-8370 , SD Prime via OpenDCT, Donater ComSkip
Clients: HD-200, Nexus Player w/ Android miniclient
Storage: "nas" 16 drive Win10 w/ DrivePool running Plex, Emby, & SD PVR
Retired - Hava, MediaMVP, HD-100, HD-PVR, HVR-2250, Ceton InfiniTV4, Original (white) HDHomeRun Died - HD-100, HD-300
Reply With Quote
  #9  
Old 04-07-2010, 10:36 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Make sure you remove the value 'net.sf.sageplugins.webserver.StartServer' from the load_at_startup_runnable_classes line in Sage.properties and that Sage is not running when you do that.

Try the URL http://localhost:8500/sage/Home
__________________
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
  #10  
Old 04-15-2010, 04:34 PM
ThePaladinTech's Avatar
ThePaladinTech ThePaladinTech is offline
Sage Aficionado
 
Join Date: Oct 2007
Location: South Lyon, MI
Posts: 452
Still struggling -

Is the plugin just a "starter"? meaning do I need to download Jetty separately as I have not done that.

Also is there a way to test that Jetty is running? without adding BMT or another plug in? Nothing shows up in the logs (C:\Program Files\SageTV\SageTV\jetty)

at this point I am certain the old webserver is no longer running, and am able to configure jetty for 8080 or 8500 ... but it doesn't seem to work.

And I certainly should add how grateful I am to the talented bunch here!
__________________
(current) SageServer: SageTV Open Source V9 - Virtual Ubuntu on Win10 HyperV MSI 970A-G46, AMD FX-8370 , SD Prime via OpenDCT, Donater ComSkip
Clients: HD-200, Nexus Player w/ Android miniclient
Storage: "nas" 16 drive Win10 w/ DrivePool running Plex, Emby, & SD PVR
Retired - Hava, MediaMVP, HD-100, HD-PVR, HVR-2250, Ceton InfiniTV4, Original (white) HDHomeRun Died - HD-100, HD-300

Last edited by ThePaladinTech; 04-15-2010 at 04:37 PM.
Reply With Quote
  #11  
Old 04-16-2010, 10:43 AM
SWKerr SWKerr is offline
Sage Icon
 
Join Date: Jun 2008
Posts: 1,178
First the URL is case sensitive so be careful there.
Mine is: "http://kerrmain:8080/bmt/#status" localhost from the server itself
You will get a prompt for user\pass which is sage\frey once you have it working.

If it is not running you will get something like "Unable to connect" or "Server not found"
If it is running the message will be like this when I use capital letters in the url for BMT

HTTP ERROR: 404

Problem accessing /BMT. Reason:

NOT_FOUND

Powered by Jetty://
Reply With Quote
  #12  
Old 04-16-2010, 12:35 PM
ThePaladinTech's Avatar
ThePaladinTech ThePaladinTech is offline
Sage Aficionado
 
Join Date: Oct 2007
Location: South Lyon, MI
Posts: 452
Quote:
Originally Posted by SWKerr View Post
First the URL is case sensitive so be careful there.
Mine is: "http://kerrmain:8080/bmt/#status" localhost from the server itself
You will get a prompt for user\pass which is sage\frey once you have it working.

If it is not running you will get something like "Unable to connect" or "Server not found"
If it is running the message will be like this when I use capital letters in the url for BMT

HTTP ERROR: 404

Problem accessing /BMT. Reason:

NOT_FOUND

Powered by Jetty://
Per this Jetty is not running at all - not sure why, thanks for the info
__________________
(current) SageServer: SageTV Open Source V9 - Virtual Ubuntu on Win10 HyperV MSI 970A-G46, AMD FX-8370 , SD Prime via OpenDCT, Donater ComSkip
Clients: HD-200, Nexus Player w/ Android miniclient
Storage: "nas" 16 drive Win10 w/ DrivePool running Plex, Emby, & SD PVR
Retired - Hava, MediaMVP, HD-100, HD-PVR, HVR-2250, Ceton InfiniTV4, Original (white) HDHomeRun Died - HD-100, HD-300
Reply With Quote
  #13  
Old 04-16-2010, 04:58 PM
ThePaladinTech's Avatar
ThePaladinTech ThePaladinTech is offline
Sage Aficionado
 
Join Date: Oct 2007
Location: South Lyon, MI
Posts: 452
the latest effort:

Disable Sage Service and Sage Recovery - stop sage service.
Reboot PC

Follow install instructions here: http://tools.assembla.com/sageplugins/wiki/JettyInstall
1. Downloaded Jetty1.6.zip
2. don't need to shut it down I rebooted PC and it's not a service right now (trying this in desperation and verified sage was not running anyway)
3. unzipped jettystarter_1_6.zip into c:\program files\sagetv\sagetv
4. this is my c:\program files\Sagetv\sagetv\sage.properties line: load_at_startup_runnable_classes=sagex.jetty.starter.Main
4a. Checked to see that this line doesn't appear twice in sage.properties file (in desperation)
5. un-commented jetty.port=8080 in C:\program files\sagetv\sagetv\JettyStarter.properties
5a. checked to see that this line isn't somehow listed twice
6. default password is sage/frey - didn't change this
7. did not run sageTV
*******
8. I added sage webserver and BMT by unzipping both of them into c:\program files\sagetv\sagetv
9. attempting to follow this direction: http://tools.assembla.com/sageplugin...erverV2onJetty I deleted the following files: servlet.jar, nielm_sagewebserver.jar, nielm_sageutls.jar, nielm_sagexmlinfo.jar
10. I edited the sage.properties file (just in case somehow it changed... nope it's still as I set it in step 4)
11. there are no properties in sage.properties that begin with nielm/webserver
12. I deleted AGAIN the webserver folder (and re-added from the zip file) ... just in case
13 . Still nothing on http://localhost:8080 or 8500 or /bmt or /sage/home or and variation of capitalization of S and H - all i get is a 404 error.

Enabled logging in SageTV (sagetv_0 file) and jetty logging - nothing apparent in sageTV_0 file and no log for jetty at all.

So... next I am going to delete the jetty folder, the webserver folder and start again.
__________________
(current) SageServer: SageTV Open Source V9 - Virtual Ubuntu on Win10 HyperV MSI 970A-G46, AMD FX-8370 , SD Prime via OpenDCT, Donater ComSkip
Clients: HD-200, Nexus Player w/ Android miniclient
Storage: "nas" 16 drive Win10 w/ DrivePool running Plex, Emby, & SD PVR
Retired - Hava, MediaMVP, HD-100, HD-PVR, HVR-2250, Ceton InfiniTV4, Original (white) HDHomeRun Died - HD-100, HD-300
Reply With Quote
  #14  
Old 04-16-2010, 05:22 PM
ThePaladinTech's Avatar
ThePaladinTech ThePaladinTech is offline
Sage Aficionado
 
Join Date: Oct 2007
Location: South Lyon, MI
Posts: 452
and this round:

1. stop service - uninstall service - reboot pc
2. delete jetty and webserver folders in c:\program files\sagetv\sagetv
3. download jetty starter 1.6
4. unzip into sagetv folder
5. check my sage.properties file its still right...
6. uncomment jetty.port=8080 and debug=true in jettystarter.properties
7. start sage service
8. goto http://localhost:8080 - nothin'



jreichen I await further guidance - I hope there is something here that makes you go "oh he's doing this wrong"
__________________
(current) SageServer: SageTV Open Source V9 - Virtual Ubuntu on Win10 HyperV MSI 970A-G46, AMD FX-8370 , SD Prime via OpenDCT, Donater ComSkip
Clients: HD-200, Nexus Player w/ Android miniclient
Storage: "nas" 16 drive Win10 w/ DrivePool running Plex, Emby, & SD PVR
Retired - Hava, MediaMVP, HD-100, HD-PVR, HVR-2250, Ceton InfiniTV4, Original (white) HDHomeRun Died - HD-100, HD-300
Reply With Quote
  #15  
Old 04-16-2010, 07:11 PM
ThePaladinTech's Avatar
ThePaladinTech ThePaladinTech is offline
Sage Aficionado
 
Join Date: Oct 2007
Location: South Lyon, MI
Posts: 452
OK for grins I downloaded jetty from there website and ran it - that jetty runs so there is no conflict on port 8080... I've also uninstalled pretty much every plugin I have. comskip, nielm dynamic menus ... and playon.
__________________
(current) SageServer: SageTV Open Source V9 - Virtual Ubuntu on Win10 HyperV MSI 970A-G46, AMD FX-8370 , SD Prime via OpenDCT, Donater ComSkip
Clients: HD-200, Nexus Player w/ Android miniclient
Storage: "nas" 16 drive Win10 w/ DrivePool running Plex, Emby, & SD PVR
Retired - Hava, MediaMVP, HD-100, HD-PVR, HVR-2250, Ceton InfiniTV4, Original (white) HDHomeRun Died - HD-100, HD-300
Reply With Quote
  #16  
Old 04-16-2010, 09:37 PM
jackalpsp jackalpsp is offline
Sage User
 
Join Date: Dec 2008
Posts: 21
wow, I was thinking I might try BMT, but after reading this thread I may pass. This sounds like a nightmare.
Reply With Quote
  #17  
Old 04-17-2010, 12:55 PM
ThePaladinTech's Avatar
ThePaladinTech ThePaladinTech is offline
Sage Aficionado
 
Join Date: Oct 2007
Location: South Lyon, MI
Posts: 452
Quote:
Originally Posted by jackalpsp View Post
wow, I was thinking I might try BMT, but after reading this thread I may pass. This sounds like a nightmare.
I wouldn't let my difficulty taint your thoughts about trying it - There are lots of people running it fine no problems. And I was running the old nielm web server - which I think somehow must be causing my problems.
__________________
(current) SageServer: SageTV Open Source V9 - Virtual Ubuntu on Win10 HyperV MSI 970A-G46, AMD FX-8370 , SD Prime via OpenDCT, Donater ComSkip
Clients: HD-200, Nexus Player w/ Android miniclient
Storage: "nas" 16 drive Win10 w/ DrivePool running Plex, Emby, & SD PVR
Retired - Hava, MediaMVP, HD-100, HD-PVR, HVR-2250, Ceton InfiniTV4, Original (white) HDHomeRun Died - HD-100, HD-300
Reply With Quote
  #18  
Old 04-22-2010, 07:15 AM
ThePaladinTech's Avatar
ThePaladinTech ThePaladinTech is offline
Sage Aficionado
 
Join Date: Oct 2007
Location: South Lyon, MI
Posts: 452
WOO HOO!!!! I got it workin! the relevant problem was that I had duplicate 'jars
' - initially discussed here: http://forums.sagetv.com/forums/show...&postcount=103

and jetty specific jars detailed by jreichen here: http://tools.assembla.com/sageplugins/wiki/JettyInstall (see installed files and delete anything that isn't pertinent to version 1.6)

EDIT: Delete any duplicated files that reference a version other then 1.6

This does leave me another question (of course) but for the moment
__________________
(current) SageServer: SageTV Open Source V9 - Virtual Ubuntu on Win10 HyperV MSI 970A-G46, AMD FX-8370 , SD Prime via OpenDCT, Donater ComSkip
Clients: HD-200, Nexus Player w/ Android miniclient
Storage: "nas" 16 drive Win10 w/ DrivePool running Plex, Emby, & SD PVR
Retired - Hava, MediaMVP, HD-100, HD-PVR, HVR-2250, Ceton InfiniTV4, Original (white) HDHomeRun Died - HD-100, HD-300

Last edited by ThePaladinTech; 04-22-2010 at 07:22 AM. Reason: potentiall dangerous instructions...
Reply With Quote
  #19  
Old 04-22-2010, 01:12 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Glad you got it working. Sorry for the slow response but I've been out of town. I'll summarize all that for the next person who comes along:

It looks like you had two issues. The first was that nielm's web interface was running in the TJWS server on the same port you were trying to use for Jetty. If you really want to run nielm's on TJWS and Jetty at the same time for other web apps, they have to run on different ports. If you want to migrate nielm's app to run on Jetty, then there's a wiki page for switching over.

Second, your Jetty plugin was upgraded without removing JARs from previous Jetty plugin versions. If the steps for that are not followed, you will have problems. There's a reason there's a wiki page for it

And to answer your question above about what's in the download: it's both the "starter" classes - which hook Sage and Jetty together - and Jetty itself.

I realize it can be a lot of information to sift through and I appreciate your patience. @jackalpsp: there's plenty of support available on the forums if you decide to try out BMT/Jetty.
__________________
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
Reply


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
Simple Question vanchie21 SageTV Software 2 11-14-2008 10:04 PM
A simple question ... Ken C SageTV Media Extender 8 12-16-2007 12:20 PM
A simple question tsitalon1 Hardware Support 1 02-19-2007 01:11 AM
Simple Question, I think PeteInSF SageTV Software 2 07-09-2005 12:54 AM
Simple Question? FnHag General Discussion 21 04-05-2003 09:18 AM


All times are GMT -6. The time now is 04:49 PM.


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