SageTV Community  

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

Notices

SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-03-2016, 06:47 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Jetty 9 (to Upgrade or Not)

I've spent way too many hours looking at different options around upgrading Jetty.

First off.. As Java advances, some versions of Jetty will ONLY work with Java 8+... And the current version Jetty 6 has known issues with some java apis when running on Java 8. So if we don't upgrade jetty... we may be stuff on Java 7 for a long time (which I don't like).

One problem is that no matter how we upgrade, we'll never be able to do it without breaking all the existing webapps. Some of them like the ./apps will need to rewritten, and others like nielm_sagetwebapp will need to be tweaked.

I been trying to find a way to run the "old" and "new" in the same setup, but that's never going happen. I've even tried to running a jetty server (old) and using tomcat (new) instances and that almost works, but I see it causing many more issues.

One of the reasons why all the existing webapps need to be updated is that Jetty, at some point, changed owners, and the packages were all renamed... so the Context xml files that we use for Jetty 6 will not work in Jetty 9.

So, the upgrade strategy would basically be a new Jetty 9 instance with a completely different set of configuration files, etc, so "upgrading" to jetty 9 would break existing web apps (until they are updated) and will require a reconfiguration of the server configuration... ie, ssll, user/pass, etc.

Obviously this does not affect SageTV 7, but, would affect people running the Open Source version... My feeling is that if you are on the Open Source version (which is pretty stable in my mind), you'll likely be more tolerant of breakage... since, you are on the bleeding edge
Reply With Quote
  #2  
Old 10-03-2016, 09:11 AM
Bagal Bagal is offline
Sage Advanced User
 
Join Date: Apr 2006
Location: Surrey, UK
Posts: 183
I say go for it, better to get the pain of upgrading out of the way in one hit than having to worry about different versions etc. going forward and as you say those on the Open Source version should be more tolerant of breakage anyway.

Now I just need to find some time to install and play with v9...
__________________
Server: Win7 64bit; i5 2500; 32GB ram; Blackgold BGT3595; 18TB + 120GB SSD; Edgestore DAS401T; DVBLink; Oscam; Omnikey 3121
Lounge Client: HD300; Yamaha RX-V765 connected to 55" Furrion 1080p LCD; Logitech Harmony One remote
Kitchen: HD300 32" LCD, Bed 1: HD300 - 40" LCD, Bed 2: HD300 - 24" LCD, Bed 3: HD300 - 22" LCD
Reply With Quote
  #3  
Old 10-03-2016, 09:49 AM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
I don't suppose anyone's willing to take over Sage Alert? Can you tell if it's just a "tweak" or a more involved process to get it on a newer Jetty version? Or maybe add email as an option to the Pushbullet plugin? I mostly care about getting system messages via email.
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #4  
Old 10-03-2016, 10:10 AM
Steve20A Steve20A is offline
Sage Advanced User
 
Join Date: Sep 2008
Location: Naples, FL
Posts: 93
Do it once. Do it right. Consolidate the pain - as you say, early adopters are a hearty lot - before v9 becomes the predominant version in use.

I moved from v7 to v9 after a lot of testing and haven't updated since. Maybe I'm what you would call a timid early adopter, but still, I say go for it.
__________________
Steve G
Reply With Quote
  #5  
Old 10-03-2016, 10:42 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by KarylFStein View Post
I don't suppose anyone's willing to take over Sage Alert? Can you tell if it's just a "tweak" or a more involved process to get it on a newer Jetty version? Or maybe add email as an option to the Pushbullet plugin? I mostly care about getting system messages via email.
I think adding email to the pushbullet plugin would be somewhat easy... but also, I think the Sage Alert (or any of these web apps) would just require a recompile (maybe) and an updated context.

Personally, I think I'd like to incorporate some of these features into the "core" web ui... ie, as part of the configuration allow you to register for alerts, etc, and move those plugins as being something that is core configuration.
Reply With Quote
  #6  
Old 11-20-2016, 10:56 AM
RBraverman's Avatar
RBraverman RBraverman is offline
Sage Advanced User
 
Join Date: Dec 2006
Posts: 230
Looks like the discussion fizzled quickly for some reason.

If you are going to do this, it would require (in my VERY humble opinion) people who have test servers/clients.

Even though I'm on 9 and have beta'd more software and hardware than I care to remember - this type of app doesn't lend itself to "playing/testing".

And considering there are many who are updating and can not get the Jetty Server to work ....

All that being said, I agree with the prevailing opinion - if you are going to take this on, do it once and do it right - an old saying I remember when I was a line mechanic for Porsche, "You never have the time or money to do right the first time, but you ALWAYS seem to have both to do it over."

If I can be of service, I've a test bed machine that I can easy set up, so I wouldn't cry very loudly and through a tantrum if everything
__________________
Core2Duo 3.0, 8gig Memory, Win7 x86, LOTS O' Storage tucked into an Antec Case.
OLD aTI Remote Wonder running RW Keymaster
Sage V9.2.2
2 Sage Clients V9.2.2
2 HD-100 Placeshifters - not connected.

Last edited by RBraverman; 11-20-2016 at 11:00 AM.
Reply With Quote
  #7  
Old 11-20-2016, 11:41 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by RBraverman View Post
Looks like the discussion fizzled quickly for some reason.

If you are going to do this, it would require (in my VERY humble opinion) people who have test servers/clients.

Even though I'm on 9 and have beta'd more software and hardware than I care to remember - this type of app doesn't lend itself to "playing/testing".

And considering there are many who are updating and can not get the Jetty Server to work ....

All that being said, I agree with the prevailing opinion - if you are going to take this on, do it once and do it right - an old saying I remember when I was a line mechanic for Porsche, "You never have the time or money to do right the first time, but you ALWAYS seem to have both to do it over."

If I can be of service, I've a test bed machine that I can easy set up, so I wouldn't cry very loudly and through a tantrum if everything
It's still being played with It's just that I have Phoenix, Android MiniClient, BMT (rewrite), and as such, with only a couple hours a week to spend on things... it's moves at a snails pace
Reply With Quote
  #8  
Old 11-20-2016, 04:17 PM
RBraverman's Avatar
RBraverman RBraverman is offline
Sage Advanced User
 
Join Date: Dec 2006
Posts: 230
Quote:
Originally Posted by stuckless View Post
It's still being played with It's just that I have Phoenix, Android MiniClient, BMT (rewrite), and as such, with only a couple hours a week to spend on things... it's moves at a snails pace
And to think, I thought all you did was SPEND EVERY WAKING HOUR fixing STV.

What's the re-write of BMT for? Maybe the "Service_Unavailable" huh, huh, huh?

Also a thought, if/when you ever get to tackling Jetty, maybe a list on a sticky of the all the major addons, have people vote on the ones that mean the most to them, then take oh, the top 3-5 and make sure they work with the re-written Jetty, before a release?

OR so that one could list the items that would be impacted.

As ALWAYS thank you for MASSIVE contributions!!!!!
__________________
Core2Duo 3.0, 8gig Memory, Win7 x86, LOTS O' Storage tucked into an Antec Case.
OLD aTI Remote Wonder running RW Keymaster
Sage V9.2.2
2 Sage Clients V9.2.2
2 HD-100 Placeshifters - not connected.
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
Jetty 9 for SageTV 9 stuckless SageTV Github Development 46 01-30-2017 01:42 PM
Jetty and JSON EnterNoEscape General Discussion 4 12-24-2015 09:29 AM
Plugin: Jetty Starter 1.6 jreichen SageTV Customizations 122 09-07-2012 06:48 PM
Jetty and BMT Spectrum SageTV v7 Customizations 2 06-24-2010 08:38 PM


All times are GMT -6. The time now is 01:55 PM.


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