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
  #181  
Old 03-23-2010, 10:39 PM
Islander Islander is offline
Sage Advanced User
 
Join Date: Oct 2009
Location: Cayman Islands
Posts: 163
Ok that explains that, yes sorry I am running both, by switching I mean switching from one tab of my web browser to the other, but I understand now why the webserver does not have that info.
Reply With Quote
  #182  
Old 03-24-2010, 08:20 PM
Hunter69 Hunter69 is offline
Sage Aficionado
 
Join Date: Oct 2008
Posts: 301
I had the webserver plugin installed running on the tiny java web server. I followed the instructions to migrate to jetty v2. I maintained the 8080 port. I goto to my sage server

http:\\sageserver:8080\sage\home

the server responds by asking a user name and password. I understand the default user name=user, the default password=frey.

This is where I am stuck. It will not accept the username and password. I greatly appreciate your help in this matter.

Bill
__________________
Server: Antec 300, AMD Phenom 9750, 4 gig ram, 4 tb-with pooled recording , Lite on Blu-ray drive
Tuners: 2 HD-PVR, 1 HDHR
Clients: 2 HD200
Reply With Quote
  #183  
Old 03-24-2010, 09:10 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Quote:
Originally Posted by Hunter69 View Post
the server responds by asking a user name and password. I understand the default user name=user, the default password=frey.
Look in your realm.properties file (in SageTV/SageTV/jetty/etc) to find out the correct username and password.
__________________
-- Greg
Reply With Quote
  #184  
Old 03-25-2010, 01:41 AM
Hunter69 Hunter69 is offline
Sage Aficionado
 
Join Date: Oct 2008
Posts: 301
The realm.properties states user frey.
__________________
Server: Antec 300, AMD Phenom 9750, 4 gig ram, 4 tb-with pooled recording , Lite on Blu-ray drive
Tuners: 2 HD-PVR, 1 HDHR
Clients: 2 HD200
Reply With Quote
  #185  
Old 03-25-2010, 06:41 AM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
The default login is user=sage, password=frey. But you should change that .
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #186  
Old 03-25-2010, 12:23 PM
Hunter69 Hunter69 is offline
Sage Aficionado
 
Join Date: Oct 2008
Posts: 301
Well after some digging, I found the server was still using the tiny java web server. So performed the steps again as descibed to migrate from tjws. Now I cannot connect at all. What kind of information could I provide that would allow someone to assist me in getting this working?
__________________
Server: Antec 300, AMD Phenom 9750, 4 gig ram, 4 tb-with pooled recording , Lite on Blu-ray drive
Tuners: 2 HD-PVR, 1 HDHR
Clients: 2 HD200
Reply With Quote
  #187  
Old 03-25-2010, 12:28 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
These items would be helpful:
  1. What is the value for the load_at_startup_runnable_classes line in Sage.properties?
  2. Run it with SageTV's debug logging turned on and post the log here
  3. Print a directory listing of the JARs and jetty folders
__________________
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
  #188  
Old 03-25-2010, 12:38 PM
Hunter69 Hunter69 is offline
Sage Aficionado
 
Join Date: Oct 2008
Posts: 301
Ok I checked the sage.properties, it was missing the sagex from the startup line. This got jetty running. Now it wants to allow me to connect at

http://sageserver:8080

it does not like

http://sageserver:8080/sage

but if I put in

http://sageserver:8080/sagem


This is the one part of the instructions that I did not perform
it gets me to a directory page.

Iam researching how to do the debugging mode etc.

I read through this section in the instructions and felt that I would not be required to perform this step
Restore settings ¶

Skip this section if you are not migrating from TJWS to Jetty.

* webserver/realms.properties - the file no longer exists in this location. For Jetty, it's located in the jetty/etc folder. The 'user' role is the only supported role. Granting access to different URLs based on role is not currently supported.
* webserver/transcode.properties - replace or merge this file with the one installed when the zip file was extracted
* webserver/extenders.properties - replace or merge this file with the one installed when the zip file was extracted
* webserver/paths.properties - replace or merge this file with the one installed when the zip file was extracted
* Sage.properties, specifically these settings
o ssl keystore location (nielm/webserver/ssl_args) - set the keystore location in the JettyStarter.properties. See the Jetty SSL wiki page for instructions.
o http(s) port (nielm/webserver/port) - set the http and https ports in JettyStarter.properties. The corresponding properties in that file are jetty.port and jetty.ssl.port. Remove the '#' at the beginning of the line to uncomment them.

I manually adjusted the jettystarter.properties to listen on 8080. I did not have ssl enabled yet. Did I miss something that was critical?



I had not enabled SSL. So was thinking that this part was unnecessary. I adjusted the jettystarted.properties to listen on 8080 for now at least
__________________
Server: Antec 300, AMD Phenom 9750, 4 gig ram, 4 tb-with pooled recording , Lite on Blu-ray drive
Tuners: 2 HD-PVR, 1 HDHR
Clients: 2 HD200

Last edited by Hunter69; 03-25-2010 at 12:46 PM.
Reply With Quote
  #189  
Old 03-25-2010, 12:47 PM
Hunter69 Hunter69 is offline
Sage Aficionado
 
Join Date: Oct 2008
Posts: 301
Here is the error I get

HTTP ERROR: 404

Problem accessing /sage/home. Reason:

NOT_FOUND

Powered by Jetty://
__________________
Server: Antec 300, AMD Phenom 9750, 4 gig ram, 4 tb-with pooled recording , Lite on Blu-ray drive
Tuners: 2 HD-PVR, 1 HDHR
Clients: 2 HD200
Reply With Quote
  #190  
Old 03-25-2010, 12:56 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Quote:
Originally Posted by Hunter69 View Post
Here is the error I get

HTTP ERROR: 404

Problem accessing /sage/home. Reason:

NOT_FOUND

Powered by Jetty://
Try Home with a capital "H"
__________________
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
  #191  
Old 03-25-2010, 01:09 PM
Hunter69 Hunter69 is offline
Sage Aficionado
 
Join Date: Oct 2008
Posts: 301
Here is the debugging log
Attached Files
File Type: txt sagetv_0.txt (68.9 KB, 332 views)
__________________
Server: Antec 300, AMD Phenom 9750, 4 gig ram, 4 tb-with pooled recording , Lite on Blu-ray drive
Tuners: 2 HD-PVR, 1 HDHR
Clients: 2 HD200
Reply With Quote
  #192  
Old 03-25-2010, 01:12 PM
Hunter69 Hunter69 is offline
Sage Aficionado
 
Join Date: Oct 2008
Posts: 301
How do I do this

Print a directory listing of the JARs and jetty folders
__________________
Server: Antec 300, AMD Phenom 9750, 4 gig ram, 4 tb-with pooled recording , Lite on Blu-ray drive
Tuners: 2 HD-PVR, 1 HDHR
Clients: 2 HD200
Reply With Quote
  #193  
Old 03-25-2010, 01:16 PM
Hunter69 Hunter69 is offline
Sage Aficionado
 
Join Date: Oct 2008
Posts: 301
Will this do

By the way I tried your suggestion with no different results.

Thanks again for all you help
Attached Files
File Type: txt Jetty.txt (149.7 KB, 265 views)
File Type: txt Sagejars.txt (8.0 KB, 263 views)
__________________
Server: Antec 300, AMD Phenom 9750, 4 gig ram, 4 tb-with pooled recording , Lite on Blu-ray drive
Tuners: 2 HD-PVR, 1 HDHR
Clients: 2 HD200

Last edited by Hunter69; 03-25-2010 at 01:28 PM.
Reply With Quote
  #194  
Old 03-25-2010, 01:39 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Jetty is set up and running just fine but you still have the files for the TJWS version of nielm's webserver installed. The set of files that are extracted are quite different for the TJWS version vs the Jetty version.

Go through the steps on the wiki again to clean up the TJWS version (especially cleaning up the JARs folder), and make sure you download the appropriate build - it's the 3rd download on the 1st post of this thread. Then do the installation of the Jetty version 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
  #195  
Old 03-25-2010, 01:50 PM
Hunter69 Hunter69 is offline
Sage Aficionado
 
Join Date: Oct 2008
Posts: 301
Ok I am going through it again. I am clicking on the 3rd link down. It leads me to webserver_2_26_build49

Is that the correct file?
__________________
Server: Antec 300, AMD Phenom 9750, 4 gig ram, 4 tb-with pooled recording , Lite on Blu-ray drive
Tuners: 2 HD-PVR, 1 HDHR
Clients: 2 HD200
Reply With Quote
  #196  
Old 03-25-2010, 01:57 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
No, the name should be something like nielm_websrv_jetty_2_x.zip.
__________________
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
  #197  
Old 03-25-2010, 02:01 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
The links had a misspelling and were invalid so they were taking you to the downloads page with the list of all downloads rather than a specific file. Try them 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
  #198  
Old 03-25-2010, 02:11 PM
Hunter69 Hunter69 is offline
Sage Aficionado
 
Join Date: Oct 2008
Posts: 301
Ok I think it is running off of Jetty. I can connect to it. How do I confirm it is using Jetty.

Thanks
Bill
__________________
Server: Antec 300, AMD Phenom 9750, 4 gig ram, 4 tb-with pooled recording , Lite on Blu-ray drive
Tuners: 2 HD-PVR, 1 HDHR
Clients: 2 HD200
Reply With Quote
  #199  
Old 03-25-2010, 02:14 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
If your URL has the same port as JettyStarter.properties then it's running 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
  #200  
Old 03-25-2010, 06:12 PM
Hunter69 Hunter69 is offline
Sage Aficionado
 
Join Date: Oct 2008
Posts: 301
I confirmed that Jetty is being used. Thank you very very much for your help and patience!

Bill
__________________
Server: Antec 300, AMD Phenom 9750, 4 gig ram, 4 tb-with pooled recording , Lite on Blu-ray drive
Tuners: 2 HD-PVR, 1 HDHR
Clients: 2 HD200
Reply With Quote
Reply

Tags
web


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: 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


All times are GMT -6. The time now is 02:43 AM.


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