SageTV Community  

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

Notices

SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer.

Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old 05-30-2010, 12:15 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Quote:
Originally Posted by lotusvball View Post
I went into the Jetty folder. and then into realm.properties (i think) and behind my user: password I added ,user right after the password.


BTW. I set this up doing the install plugin option and configured it through sage. I changed the username and password. The configuration did not add the user. This seems to be a small bug. If this could be corrected it would help others. I did a new install not an upgrade from 1.6.
I couldn't reproduce this. Can you try it again with version 2.0 of the plugin?


Quote:
Originally Posted by lotusvball View Post
Where do I change the background image for the webpage?
There's no option for changing the background.
__________________
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
  #22  
Old 05-31-2010, 01:34 AM
peternm22 peternm22 is offline
Sage Expert
 
Join Date: Jan 2005
Posts: 709
I'm trying to install SJQ, which requires Jetty. The installation and restart goes fine, and both Jetty and SJQ are listed as installed in the plugin manager. However, I can't connect to Jetty at all. I've tried http://localhost:7077/sjq/ (7077 being the port I configured Jetty to run on), but it just won't connect.

How can I verify that Jetty is in fact installed correctly and running?

Thanks.
Reply With Quote
  #23  
Old 05-31-2010, 09:41 AM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Quote:
Originally Posted by peternm22 View Post
I'm trying to install SJQ, which requires Jetty. The installation and restart goes fine, and both Jetty and SJQ are listed as installed in the plugin manager. However, I can't connect to Jetty at all. I've tried http://localhost:7077/sjq/ (7077 being the port I configured Jetty to run on), but it just won't connect.

How can I verify that Jetty is in fact installed correctly and running?

Thanks.
What do you get at http://localhost:7077/ ? Does the browser show an HTTP error number on either page?

Turn on SageTV's debug log, then see if there's anything in there or post it here and I'll look at it. If that doesn't provide enough detail, you might also want to increase Jetty's log level using Jetty's config options in the Plugin Manager.
__________________
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
  #24  
Old 05-31-2010, 11:40 AM
peternm22 peternm22 is offline
Sage Expert
 
Join Date: Jan 2005
Posts: 709
Here's the error message I am getting:

Quote:
Unable to connect
Firefox can't establish a connection to the server at localhost:7077.
It doesn't seem to be an error coming from Jetty, it seems like it can't even connect to Jetty at all.

I've attached my SageTV log file. I took a look at it, and can't seem to find anything out of place (but then again, I'm not sure what I'm looking for).

Also note that I'm still running nielm's old webserver on port 8080, which has been functioning fine. I would like to upgrade to the new version once I get Jetty working.

Thanks for the help.
Attached Files
File Type: txt sagetv_0.txt (116.8 KB, 210 views)
Reply With Quote
  #25  
Old 05-31-2010, 11:53 AM
robogeek robogeek is offline
Sage Expert
 
Join Date: Apr 2003
Location: Appleton, WI USA
Posts: 568
Quote:
Originally Posted by peternm22 View Post
Here's the error message I am getting:



It doesn't seem to be an error coming from Jetty, it seems like it can't even connect to Jetty at all.

I've attached my SageTV log file. I took a look at it, and can't seem to find anything out of place (but then again, I'm not sure what I'm looking for).

Also note that I'm still running nielm's old webserver on port 8080, which has been functioning fine. I would like to upgrade to the new version once I get Jetty working.

Thanks for the help.
Looks like you've got some duplicate .jar files for a previous jetty version in the SageTV\JARs folder and they are probably conflicting and preventing jetty from starting.
__________________
--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
Reply With Quote
  #26  
Old 05-31-2010, 12:02 PM
peternm22 peternm22 is offline
Sage Expert
 
Join Date: Jan 2005
Posts: 709
Do you know which JARS that would be? Is there a list anywhere of the old files?

Thanks.
Reply With Quote
  #27  
Old 05-31-2010, 12:07 PM
peternm22 peternm22 is offline
Sage Expert
 
Join Date: Jan 2005
Posts: 709
Hurrah! I went through my JAR directory to see if I could spot anything "old" and noticed 3 JAR files with identical names (except for the version numbers), I removed them and restarted Sage, and it's working again.

Thanks for your help guys!
Reply With Quote
  #28  
Old 05-31-2010, 06:28 PM
robogeek robogeek is offline
Sage Expert
 
Join Date: Apr 2003
Location: Appleton, WI USA
Posts: 568
Quote:
Originally Posted by peternm22 View Post
Hurrah! I went through my JAR directory to see if I could spot anything "old" and noticed 3 JAR files with identical names (except for the version numbers), I removed them and restarted Sage, and it's working again.

Thanks for your help guys!
I'm guessing you found the 3 jetty files:
jetty-6.1.11.jar
jetty-sslengine-6.1.11.jar
jetty-util-6.1.11.jar

There is one other that may cause issues...if not now, possibly down the road:
servlet-api-2.5-6.1.11.jar
__________________
--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
Reply With Quote
  #29  
Old 05-31-2010, 06:49 PM
peternm22 peternm22 is offline
Sage Expert
 
Join Date: Jan 2005
Posts: 709
Quote:
Originally Posted by robogeek View Post
I'm guessing you found the 3 jetty files:
jetty-6.1.11.jar
jetty-sslengine-6.1.11.jar
jetty-util-6.1.11.jar

There is one other that may cause issues...if not now, possibly down the road:
servlet-api-2.5-6.1.11.jar
Yup, you picked the 3. I'll remove the other jar you mentioned when I get a chance.

Thanks.
Reply With Quote
  #30  
Old 06-01-2010, 09:30 AM
lotusvball's Avatar
lotusvball lotusvball is offline
Sage Aficionado
 
Join Date: Dec 2003
Location: PA
Posts: 482
Quote:
Originally Posted by jreichen View Post
I couldn't reproduce this. Can you try it again with version 2.0 of the plugin?
Do you mean just try to upgrade the plugin or unistall, put back nielm's and then try to upgrade. I upgraded to version 2.0 with no problems but I did not try to upgrade to version 2.0 from nielm's.


Quote:
There's no option for changing the background.
Do you know where the background.jpg is located in the directory. I can change it from there.
__________________
Intel Core Duo 2.5mhz, 2gb RAM
Windows Home Server, Sage 7 beta
2 Hauppauge PVR-250, 1 PVR-500 MCE
1 HDHomeRun
4TB Storage, GB Network
2 MVPs, 1 HD100 & 1 HD300
Reply With Quote
  #31  
Old 06-01-2010, 11:20 AM
darcilicious's Avatar
darcilicious darcilicious is offline
Sage Icon
 
Join Date: Jul 2009
Location: Venus
Posts: 1,306
Quote:
Originally Posted by lotusvball View Post
Do you know where the background.jpg is located in the directory. I can change it from there.
On my windows install it's in: C:\Program Files\SageTV\SageTV\jetty\webapps\SageWebApp\webapp\images
__________________
SageTV Server 7.1.x w/Gemstone and Plex Home Theater v1.0.10 w/PlexPass
HD-PVR w/v1.5.6 drivers / Hauppauge IR blaster / FiOS Extreme HD / Motorola QIP6200 / SPDIF+720p Fixed Output
on HP Media Center 8400F (Phenom 9500 QuadCore 2.2GHz, nVidia GeForce 8500 GT)
via Olevia 247TFHD/Onyko TX-SR606/Harmony 550/HP MediaSmart EX490 WHS w/12TB
Plex Media Server v0.9.9.5 on HP Touchsmart Envy 23 d16qd
Sonos Play:3, Connect / SimpleTV v2 / Roku 2 XS+Plex / iPhone 5 / iPad 2
Reply With Quote
  #32  
Old 06-01-2010, 01:38 PM
lotusvball's Avatar
lotusvball lotusvball is offline
Sage Aficionado
 
Join Date: Dec 2003
Location: PA
Posts: 482
Quote:
Originally Posted by darcilicious View Post
On my windows install it's in: C:\Program Files\SageTV\SageTV\jetty\webapps\SageWebApp\webapp\images
I do not have a SageWeApp folder? or an images folder?
__________________
Intel Core Duo 2.5mhz, 2gb RAM
Windows Home Server, Sage 7 beta
2 Hauppauge PVR-250, 1 PVR-500 MCE
1 HDHomeRun
4TB Storage, GB Network
2 MVPs, 1 HD100 & 1 HD300
Reply With Quote
  #33  
Old 06-01-2010, 01:46 PM
darcilicious's Avatar
darcilicious darcilicious is offline
Sage Icon
 
Join Date: Jul 2009
Location: Venus
Posts: 1,306
Oops, I got confused by which plugin / webserver we were talking about, sorry!
__________________
SageTV Server 7.1.x w/Gemstone and Plex Home Theater v1.0.10 w/PlexPass
HD-PVR w/v1.5.6 drivers / Hauppauge IR blaster / FiOS Extreme HD / Motorola QIP6200 / SPDIF+720p Fixed Output
on HP Media Center 8400F (Phenom 9500 QuadCore 2.2GHz, nVidia GeForce 8500 GT)
via Olevia 247TFHD/Onyko TX-SR606/Harmony 550/HP MediaSmart EX490 WHS w/12TB
Plex Media Server v0.9.9.5 on HP Touchsmart Envy 23 d16qd
Sonos Play:3, Connect / SimpleTV v2 / Roku 2 XS+Plex / iPhone 5 / iPad 2
Reply With Quote
  #34  
Old 06-01-2010, 10:14 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Quote:
Originally Posted by lotusvball View Post
Do you mean just try to upgrade the plugin or unistall, put back nielm's and then try to upgrade. I upgraded to version 2.0 with no problems but I did not try to upgrade to version 2.0 from nielm's.
I just meant to try changing the user and password like you did before and see if it loses the 'user' role in realm.properties again.
__________________
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
  #35  
Old 06-01-2010, 10:18 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Quote:
Originally Posted by lotusvball View Post
Do you know where the background.jpg is located in the directory. I can change it from there.
There directory where it's extracted is deleted every time Jetty is stopped so your change won't last very long.
__________________
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
  #36  
Old 03-15-2011, 12:48 AM
sundansx sundansx is offline
Sage Advanced User
 
Join Date: Aug 2003
Posts: 193
Quote:
Originally Posted by jreichen View Post
There directory where it's extracted is deleted every time Jetty is stopped so your change won't last very long.
jreichen,
Could you please add this as a feature in a future version? I had an alternate bg image working with 2.28 (dont remember how I got there) and when I updated to 2.29 (with sage7 theme) the bg image I was using was gone (from the webpage display).
thanks for all your efforts. great web server app.
Reply With Quote
  #37  
Old 03-21-2011, 10:07 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
I fixed the stylesheet in version 2.30 to have a background image again, although it doesn't reference a valid image in the war file so by default users will still have the solid gray background.

If you want to customize it and have the changes stick, create a SAGE_HOME/jetty/static/sage folder and put an image in there named Background.jpg.

I have Jetty configured to always check the static folder first, so anything in there will be used first and will not be overwritten when the war is extracted every time Jetty starts.
__________________
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
Plugin: SageTV Web Interface V2 for Jetty jreichen SageTV Customizations 256 02-09-2014 08:05 AM
Upgrading SageTV mzup SageTV Software 7 10-24-2009 03:23 PM
Upgrading SageTV jillsy SageTV Software 5 03-13-2009 12:08 AM
Need help upgrading Sagetv Software Jetracers SageTV Software 4 01-26-2008 06:17 AM


All times are GMT -6. The time now is 07:12 PM.


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