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
  #101  
Old 06-15-2008, 05:56 AM
lovingHDTV's Avatar
lovingHDTV lovingHDTV is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,019
Quote:
Originally Posted by jreichen View Post
Hmmm.... The files look good. I'm logging off soon, but I'll try them on my machine tomorrow. One other thing, did you make any changes to SAGE_HOME/jetty/etc/realm.properties?
No it is the same. I did wonder about this file as I read that you needed the line:

user: password,user

and what I have in mine is:

sage: frey,user

at one time I did add

user: password,user

but that did not make any difference so I commented it out and returned the original.

thanks,
Reply With Quote
  #102  
Old 06-15-2008, 06:57 AM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Quote:
Originally Posted by lovingHDTV View Post
No it is the same. I did wonder about this file as I read that you needed the line:

user: password,user

and what I have in mine is:

sage: frey,user

at one time I did add

user: password,user

but that did not make any difference so I commented it out and returned the original.

thanks,
I updated post #17 to hopefully eliminate any confusion about that..
__________________
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
  #103  
Old 06-15-2008, 07:02 AM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Add the following to JettyStarter.properties and restart Sage.
Code:
DEBUG=true
Try to access a page (it will still fail), then post the sagetv_0.txt here.
__________________
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
  #104  
Old 06-15-2008, 07:23 AM
lovingHDTV's Avatar
lovingHDTV lovingHDTV is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,019
Quote:
Originally Posted by jreichen View Post
Add the following to JettyStarter.properties and restart Sage.
Code:
DEBUG=true
Try to access a page (it will still fail), then post the sagetv_0.txt here.
I see the DEBUG=true show up in the log file, but thats it. I attached it
Attached Files
File Type: txt sagetv_0.txt (120.8 KB, 235 views)
Reply With Quote
  #105  
Old 06-15-2008, 08:19 AM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Quote:
Originally Posted by lovingHDTV View Post
I see the DEBUG=true show up in the log file, but thats it. I attached it
That's weird. My log has a lot of messages from Jetty about its startup and configuration.

I also tried your config files and it started up normally.

If I remove the webapp's files from jetty/contexts and jetty/webapps I get a 404 error, so that's not it either.

You could try Rick's workaround for the jetty.configfiles setting in post #15, but as far as I know it was fixed and nobody else has reported it since then.

What do you get when you go to http://server:8088/ ?

And lastly, could this be caused something in Windows, maybe Windows firewall?
__________________
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
  #106  
Old 06-15-2008, 08:22 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Don't know if it matters, my jetty launches after nielm's web server. You could also try specifying the full path to the jetty files yourself. The paths look weird. One has quotes, the other does not.

I run in linux though, so I don't know what it should look like on windows.

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #107  
Old 06-15-2008, 08:35 AM
lovingHDTV's Avatar
lovingHDTV lovingHDTV is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,019
Quote:
Originally Posted by jreichen View Post
That's weird. My log has a lot of messages from Jetty about its startup and configuration.

I also tried your config files and it started up normally.

If I remove the webapp's files from jetty/contexts and jetty/webapps I get a 404 error, so that's not it either.

You could try Rick's workaround for the jetty.configfiles setting in post #15, but as far as I know it was fixed and nobody else has reported it since then.

What do you get when you go to http://server:8088/ ?

And lastly, could this be caused something in Windows, maybe Windows firewall?
We might be getting somewhere. If I go to htt://server:8088/ I get:

Error 404 - Not Found.
No context on this server matched or handled this request.
Contexts known to this server are:
/sage ---> org.mortbay.jetty.webapp.WebAppConte...SageWebApp.war!/}
/SageWebApp ---> org.mortbay.jetty.webapp.WebAppContext@164b55b{/SageWebApp,file:/C:/Program%20Files/SageTV/SageTV/jetty/webapps/SageWebApp/}

If I click on the first link, then one that ends with SageWebApp.war!. I get the 503 error.

If I click on the second link I can traverse through the directory structure and find the m/menu.jsp file. Clicking on that brings up a broken looking SageTV webpage.

dave
Reply With Quote
  #108  
Old 06-15-2008, 09:41 AM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
The /SageWebApp context should not be there. Delete the C:\Program Files\SageTV\SageTV\jetty\webapps\SageWebApp folder and 'touch' jetty/contexts/sagewebapp.xml to get Jetty to reload the context. Wait a few seconds then go to the browser and see if it works.
__________________
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
  #109  
Old 06-15-2008, 10:01 AM
lovingHDTV's Avatar
lovingHDTV lovingHDTV is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,019
This is odd.

I could not delete the folder when sage was running because a process was using one of the files. So I stopped sage, and deleted it.

When I restart Sage this directory gets created again when Jetty starts.

So I stopped sage deleted, and restarted to the same results.
Reply With Quote
  #110  
Old 06-15-2008, 10:15 AM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Jetty extracts the war file to that directory and uses it as a working copy.

It's strange that there are two contexts listed at http://server:8088/. How many files are in your jetty/contexts directory?
__________________
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
  #111  
Old 06-15-2008, 11:39 AM
lovingHDTV's Avatar
lovingHDTV lovingHDTV is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,019
there is one:

sagewebapp.xml
Reply With Quote
  #112  
Old 06-15-2008, 12:08 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Here's a new sagewebapp.xml. I changed the context root to sagetest and the temp dir to SageWebAppTest. Overwrite (or backup to another folder) the existing file in jetty/contexts. Then try http://server:8088/ and http://server:8088/sagetest/m/menu.jsp
Attached Files
File Type: txt sagewebapp.xml.txt (2.2 KB, 182 views)
__________________
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
  #113  
Old 06-15-2008, 03:03 PM
lovingHDTV's Avatar
lovingHDTV lovingHDTV is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,019
Quote:
Originally Posted by jreichen View Post
Here's a new sagewebapp.xml. I changed the context root to sagetest and the temp dir to SageWebAppTest. Overwrite (or backup to another folder) the existing file in jetty/contexts. Then try http://server:8088/ and http://server:8088/sagetest/m/menu.jsp
Here is the response:

HTTP ERROR: 503
SERVICE_UNAVAILABLE
RequestURI=/sagetest/m/menu.jsp

Powered by jetty://

I see a new SageWebAppTest area under webapps.
Reply With Quote
  #114  
Old 06-15-2008, 04:22 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
I reinstalled it on my server and was able to reproduce your problem. Turns out I was missing the JARs from nielm's webserver. Once I copied them to the JARs folder the mobile version worked.

- Do you have his webserver installed?

- Does your sagetv_0.txt file have any exceptions in it? I had a lot of messages about missing servlets.
__________________
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
  #115  
Old 06-15-2008, 04:49 PM
lovingHDTV's Avatar
lovingHDTV lovingHDTV is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,019
For me nielm's webserver is working fine, but they are not in the jetty/lib area, but in the sagetv/jars directory. The same place as the jetty libraries you asked me to check.

Looks like I'm running version 2.11
Reply With Quote
  #116  
Old 06-15-2008, 04:54 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
The old version might be the problem. It may not have all the servlets the mobile web server depends on. You could upgrade nielm's web server or just get the latest jars and put them in jetty/lib. Sage itself doesn't know anything about the jars in there.
__________________
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
  #117  
Old 06-15-2008, 05:26 PM
lovingHDTV's Avatar
lovingHDTV lovingHDTV is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,019
boy do I feel dumb. Let's add the requirement that your running version 2.22 of the nielm webserver

So I installed the new version and retried the mobile server and got a user/password request! Yea!!!

I put in the user/passord and hit the stupid Error 404 args!!

HTTP ERROR: 404
NOT_FOUND
RequestURI=/sage/m/menu.jsp

Powered by Jetty://


This thing just wont go away, but I guess being authenticated is better?
Reply With Quote
  #118  
Old 06-15-2008, 05:38 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Finally! I never thought of it having problems with an older version of nielm's web server. Hopefully I can get rid of those dependencies. Brent, could you update your instructions?

I think your problem now is that I gave you that other sagewebapp.xml to try out. If you're using that, the url is http://server:8088/sagetest/m/menu.jsp.
__________________
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
  #119  
Old 06-15-2008, 05:39 PM
lovingHDTV's Avatar
lovingHDTV lovingHDTV is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,019
YEAH!!!

I deleted the "test" build, remove the debug from the properties file and restarted. Initially it did not work, but now it is. Maybe it took a little while to get up and running.

But I can now see it and it works on my Razr


Thanks so much to all of you for helping me out.
Reply With Quote
  #120  
Old 06-16-2008, 08:58 PM
btrcp2000 btrcp2000 is offline
Sage Fanatic
 
Join Date: Aug 2007
Posts: 888
I too am up and running on almost all devices, except for my wife's cellphone, which is a wap-running (polaris browser?) lx260 LG Rumor. I was able to connect one time, and got a memory error after it had displayed most of the page. The next time, I unchecked "show images". Since then, I get Internal Server 500 errors after i log in. I'm thikning it may be a proxy thing at sprint? My Mogul logs in just fine, both on my local wifi and from sprint's network.

Any ideas?
__________________
[size=1]Current Server:V9 UNRAID Docker, SuperMicro x9dri-LNF4+, 32 GB ECC, 2x Xeon e5-2660v2, storage array 6TB, 2 Dish r5000HD tuners, 1 HDHomerun Quatro, 1 HDHomerun Extend
4 Nvidia Shield TVs with Miniclient
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
What transcoding target to I use for Windows Mobile? deria SageTV Software 1 07-25-2008 08:07 AM
HD Extender interface performance and video resolution MTuckman SageTV Media Extender 4 02-27-2008 09:57 AM
How fast is HD Extender's interface? Grasshopper SageTV Media Extender 11 02-20-2008 07:25 AM
SageTV with English User Interface to recognize media files written in cyrillic? krasev SageTV Software 9 09-11-2006 07:29 PM
Ambitious STV DEVELOPER wanted technix SageTV Customizations 4 02-09-2005 03:52 PM


All times are GMT -6. The time now is 10:37 AM.


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