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
  #101  
Old 10-06-2010, 09:02 PM
reggie14 reggie14 is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Maryland
Posts: 2,760
Quote:
Originally Posted by reggie14 View Post
I really hosed up something.
So, I think I got Jetty and the Web UI working, but I still have a couple problems.

First, I'm not sure what to do with my pre-Sage v7 webserver install that is still active. I guess I should uninstall it, but I don't know how.

Second, I'm having some problems with Jetty. I know there's another thread, but considering these are closely related plugins I'll post it here.

One problem is that if I go to http://server-ip:port/ I get the following error message:
Quote:
Error 404 - Not Found.
No context on this server matched or handled this request.
Contexts known to this server are:

* / ---> org.mortbay.jetty.handler.ContextHandler@147e16a{/,file:/C:/Program%20Files/SageTV/SageTV/jetty/static}
* /sage ---> org.mortbay.jetty.webapp.WebAppContext@272286{/sage,C:\Program Files\SageTV\SageTV\jetty/webapps/nielm_sagewebserver.war}
* /apps ---> org.mortbay.jetty.webapp.WebAppContext@14bcb17{/apps,C:\Program Files\SageTV\SageTV\jetty/webapps/apps.war}
* /bmt ---> org.mortbay.jetty.webapp.WebAppContext@180bf87{/bmt,C:\Program Files\SageTV\SageTV\jetty/webapps/bmt.war}
My next problem is if I go to http://server-ip:port/apps I get this message:
Quote:
HTTP ERROR 500

Problem accessing /apps/. Reason:

/index.jsp(16,62) PWC6188: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
(Followed by a long "Caused by" message.)

Does anyone know do to fix these problems?
Reply With Quote
  #102  
Old 10-06-2010, 09:09 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Quote:
Originally Posted by reggie14 View Post
I don't know if it matters, but I didn't uninstall the old webserver before I installed the plugins in v7. For some reason I thought it would take care of it. Maybe that's how I screwed it up.
Not your fault, but uninstalling first is probably the best practice, especially if you weren't running nielm's web ui in Jetty. Going forward in v7 and beyond it should be easier with the plugin manager tracking what files are installed. I don't think that's your problem at this point though. Let's work on this user role error...

Quote:
Originally Posted by reggie14 View Post
Anyway, I can't login. I didn't know what the default login was, and I knew I was going to want to change it anyway. So, I found something that suggested I edit realm.properties. So I put my desired username/password in. But then when I restarted the webserver from the plugin interface I noticed the username/password listed there didn't change. But I also noticed the realm.properties file still had my changes to the new name.
I didn't test that case

Quote:
Originally Posted by reggie14 View Post
So then I tried editing the username and password from the plugin interface (which I didn't originally know I could do). After doing that and restarting the webserver I'm now getting an error 403: User not in required role.
I've seen this before and commented on it somewhere. It seems that somehow the Jetty plugin configuration code sometimes leaves the role out of the realm.properties file. Add ",user" at the end of the line with your username and password, for example
Code:
sage: frey,user
The username and password can be anything, but the rolename must be "user".

Quote:
Originally Posted by reggie14 View Post
I tried resetting the configuration for the plugin. Oddly, that changed the username back to Sage in the realm.properties file, but my modified password stayed in there. But, when I under "sage" and my modified password, I don't login at all. When I use sage/frey, I can login, but I get the same error 403: User not in a required role.
I didn't test this case either. It's not easy catching all these edge cases and you just happened to find a couple

Quote:
Originally Posted by reggie14 View Post
So, I'm really confused what to do at this point. I'm not even sure if the realm.properties file is used anymore (although, it does seem to change somewhat randomly based on things I do in the plugin interface). I'm also not sure what I should do with my old webserver installation. I noticed that the /SageTV/webserver directory is still there, which I think is the old install. But, it doesn't seem to be running. Do I need to do anything besides delete the folder?
jetty/etc/realm.properties is where your user name and password are stored. You can have more than one, but only the first is editable through the plugin manager. It's meant to get basic configurations up and running but you can do more.

Keep the webserver folder. A few of those files are still used, and I left them in that location for now.

Feel free to follow up if you have more questions.
__________________
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 10-06-2010, 09:09 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by reggie14 View Post
One problem is that if I go to //server-iport/ I get the following error message:
I am not an expert on this but I don't think that is a problem as that is not a valid web page.

What do you get when you go to //server-iport/apps? When you go to that page you should see links to all of your jetty apps.

Note that that you may see a smilie show up rather than ip and then : in the above URL.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #104  
Old 10-06-2010, 10:32 PM
reggie14 reggie14 is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Maryland
Posts: 2,760
Quote:
Originally Posted by jreichen View Post
I didn't test this case either. It's not easy catching all these edge cases and you just happened to find a couple :)
What can I say? I must be talented. :D

In any event, I got it working by uninstalling Jetty, blowing away the old realm.properties file, and reinstalling. The second time I only tried to change the username from the plugin manager.

Quote:
Originally Posted by jreichen View Post
Keep the webserver folder. A few of those files are still used, and I left them in that location for now.
In the interest of not having multiple web servers unnecessarily running, I'd at least like to turn off the old pre-jetty webserver. I found an old wiki post saying to
Quote:
Remove the value
net.sf.sageplugins.webserver.StartServer
to the properties line
load_at_startup_runnable_classes=
Does that still hold? Is there anything else I should do then?

Quote:
Originally Posted by jreichen View Post
Feel free to follow up if you have more questions.
Thanks! I really appreciate your help, and all the great work you've done on plugins.

I don't know if you saw my last post where I described some other problems. The first was that I get a 404 error when I go to http://server-ip:port. My main complaint is that I don't particularly like Jetty posting paths to files on my server on a publicly accessible web page. So, I wouldn't care if it just had the 404 error without the "Contexts known to this server are: " addition.

My second issue was for some reason the http://server-ip:port/apps page doesn't work. I get an Error 500 message trying to access that page.
Reply With Quote
  #105  
Old 10-07-2010, 06:53 PM
reggie14 reggie14 is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Maryland
Posts: 2,760
I fixed both problems.

Somehow the jetty/apps page magically started magically tonight. My server restarted last night, so maybe that fixed it.

And I also figured out how to get rid of the standard 404 error. I added a contexts\root.xml file containing:
Code:
<?xml version="1.0"  encoding="ISO-8859-1"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN"
"http://jetty.mortbay.org/configure.dtd">
<Configure class="org.mortbay.jetty.webapp.WebAppContext">
  <Set name="contextPath">/</Set>
  <Set name="war"><SystemProperty name="jetty.home" default="."/>/webapps/root</Set>
</Configure>
And then I added a simple webapps\root\index.html file.
Reply With Quote
  #106  
Old 10-16-2010, 03:57 PM
russellnewman russellnewman is offline
Sage User
 
Join Date: Oct 2007
Location: Oakland, CA, USA
Posts: 14
Manual Recording = "Set" Filter not working

When using the "Search Recorded TV Files", the filter for Manual Recording = "Set" is not working.

When using the "Search Imported Videos", the selection "check-boxes" are also missing. I need to convert the video format of a large number of imported videos. Without the check-boxes, I have to go into each and every one individually and use the "Convert" button on the bottom-left of each video's "Detailed Information" page.

Last edited by russellnewman; 10-16-2010 at 04:06 PM.
Reply With Quote
  #107  
Old 10-21-2010, 06:55 AM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
I found a very minor bug/annoyance. When editing a favorite, even if "Automatic Conversion" is set to "no" (as it defaults to), the Web UI requires that the "destination folder" be valid. The exact message is:

Code:
Unable to perform action Update on Favorite
id:2604499 -- java.lang.IllegalArgumentException: Must specify conversion destination folder
I don't do any conversions, so I don't even know where this destination folder gets populated from, but it turns out the current entry is invalid on my server. So, I need to select "original folder" when editing any favorite. This might cause other problems I'm not aware of, so feel free to enlighten me, but I'd prefer that if the automatic conversion option is set to "no" that this folder either not be validated at all or have the option default to "original folder" instead of "alternate folder".
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7
Reply With Quote
  #108  
Old 10-21-2010, 08:22 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Quote:
Originally Posted by reggie14 View Post
I fixed both problems.

Somehow the jetty/apps page magically started magically tonight. My server restarted last night, so maybe that fixed it.

And I also figured out how to get rid of the standard 404 error. I added a contexts\root.xml file containing:
Code:
<?xml version="1.0"  encoding="ISO-8859-1"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN"
"http://jetty.mortbay.org/configure.dtd">
<Configure class="org.mortbay.jetty.webapp.WebAppContext">
  <Set name="contextPath">/</Set>
  <Set name="war"><SystemProperty name="jetty.home" default="."/>/webapps/root</Set>
</Configure>
And then I added a simple webapps\root\index.html file.
You should also be able to create a "static" directory under the jetty directory and put a blank index.html file in that folder. It's documented around here somewhere
__________________
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 10-24-2010, 11:56 AM
rileydogmi rileydogmi is offline
Sage User
 
Join Date: Oct 2008
Posts: 51
Problem with web commands

Just did the upgrade to v7, new install.

Everything is working except I use web commands to control extenders.

I can use the web command perfectly from a browser (IP is at 192.168.1.102), example being:

Code:
http://192.168.1.9:8080/sage/SageCommand?context=0023a50003d0&command=down
I issue the same command from a java script on IP 192.168.1.2 and I see it is getting it in the log but isn't being executed.

Here is the log. Note the first command worked and the last line is coming from my script which is being ignored. I have verbose on and this is all I am getting.

Any help is greatly appreciated!

Code:
1192.168.1.102 - sage [24/Oct/2010:17:53:03 +0000] "GET /sage/SageCommand?context=0023a50003d0&command=down HTTP/1.1" 200 912 "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-us) AppleWebKit/533.18.1 (KHTML, like Gecko) Version/5.0.2 Safari/533.18.5"
192.168.1.102 - sage [24/Oct/2010:17:53:03 +0000] "GET /sage/sage_all.css HTTP/1.1" 304 0 "http://192.168.1.9:8080/sage/SageCommand?context=0023a50003d0&command=down" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-us) AppleWebKit/533.18.1 (KHTML, like Gecko) Version/5.0.2 Safari/533.18.5"
192.168.1.102 - sage [24/Oct/2010:17:53:03 +0000] "GET /sage/sage_print.css HTTP/1.1" 304 0 "http://192.168.1.9:8080/sage/SageCommand?context=0023a50003d0&command=down" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-us) AppleWebKit/533.18.1 (KHTML, like Gecko) Version/5.0.2 Safari/533.18.5"
192.168.1.102 - sage [24/Oct/2010:17:53:03 +0000] "GET /sage/sage.js HTTP/1.1" 304 0 "http://192.168.1.9:8080/sage/SageCommand?context=0023a50003d0&command=down" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-us) AppleWebKit/533.18.1 (KHTML, like Gecko) Version/5.0.2 Safari/533.18.5"
192.168.1.102 - sage [24/Oct/2010:17:53:03 +0000] "GET /sage/sage_handheld.css HTTP/1.1" 304 0 "http://192.168.1.9:8080/sage/SageCommand?context=0023a50003d0&command=down" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-us) AppleWebKit/533.18.1 (KHTML, like Gecko) Version/5.0.2 Safari/533.18.5"
192.168.1.102 - sage [24/Oct/2010:17:53:03 +0000] "GET /sage/sagelogo.gif HTTP/1.1" 304 0 "http://192.168.1.9:8080/sage/SageCommand?context=0023a50003d0&command=down" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-us) AppleWebKit/533.18.1 (KHTML, like Gecko) Version/5.0.2 Safari/533.18.5"
192.168.1.102 - sage [24/Oct/2010:17:53:03 +0000] "GET /sage/Background.jpg HTTP/1.1" 304 0 "http://192.168.1.9:8080/sage/SageCommand?context=0023a50003d0&command=down" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-us) AppleWebKit/533.18.1 (KHTML, like Gecko) Version/5.0.2 Safari/533.18.5"
192.168.1.2 -  -  [24/Oct/2010:17:53:13 +0000] "GET /sage/SageCommand?context=0023a50003d0&command=down HTTP/1.1" 401 1387 "-" "-"
Note I did try the command on the 192.168.1.2 machine via the browser and it worked - is it a password problem? I saved the name and the password in the browser on .2 and it hasn't asked again...
Reply With Quote
  #110  
Old 10-24-2010, 12:05 PM
rileydogmi rileydogmi is offline
Sage User
 
Join Date: Oct 2008
Posts: 51
YES! I got it to work - it was a password issue. I just added the name and password to the request and it works perfect.
Reply With Quote
  #111  
Old 10-24-2010, 02:27 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by rileydogmi View Post
YES! I got it to work - it was a password issue. I just added the name and password to the request and it works perfect.
Can you please post the exact syntax of the request where you include the name and password - I think I am having a similar issue in a slightly different context.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #112  
Old 11-02-2010, 07:21 AM
appelm appelm is offline
Sage Aficionado
 
Join Date: Jul 2004
Location: Chappaqua, NY
Posts: 323
There's a new VLC for iphone app from applidium out (http://applidium.com/en/news/vlc_iph...s_the_appstore). In the description it says:
Quote:
You can now open attachments from other applications, as well as RTSP and MMS streams.
I'm pretty ignorant when it comes to streaming, but just wondering if the web interface could be modified to support these types of streams?
Reply With Quote
  #113  
Old 11-11-2010, 10:06 AM
gtfreymann gtfreymann is offline
Sage User
 
Join Date: Nov 2010
Location: Ontario, Canada EH
Posts: 29
I just installed the Web UI this morning on a new SageTV 7 system.

It was working fine, then I went into the plugins on the Main machine and changed the username, password, and set the uPNP Advanced on, restarted.

Now when I access the sage webui I get this:

HTTP ERROR 500

Problem accessing /sage/Home. Reason:

net/sf/sageplugins/sagexmlinfo/SageXmlWriter

Caused by:

java.lang.NoClassDefFoundError: net/sf/sageplugins/sagexmlinfo/SageXmlWriter
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153)
at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:419)
at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:478)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
Caused by: java.lang.ClassNotFoundException: net.sf.sageplugins.sagexmlinfo.SageXmlWriter
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:401)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:363)
... 27 more

Caused by:

java.lang.ClassNotFoundException: net.sf.sageplugins.sagexmlinfo.SageXmlWriter
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:401)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:363)
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153)
at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:419)
at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:478)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)

I looked in the installed plugins and Nielm's Sage XML Info plugin is showing as installed, but when you press enter on it there is no option to UnInstall.

Not sure what to do next.

EDIT: There was no uninstall because I was looking at all plugin's rather than installed plugins. Doh!

I then uninstalled the web gui and reinstalled and it's working again.

Last edited by gtfreymann; 11-11-2010 at 03:16 PM. Reason: Results afterwards...
Reply With Quote
  #114  
Old 11-16-2010, 09:17 AM
dstanley's Avatar
dstanley dstanley is offline
Sage Aficionado
 
Join Date: Sep 2008
Location: LaHave, Nova Scotia, Canada
Posts: 291
Quote:
Originally Posted by calypsocowboy View Post
I tried that and all I get is a screen saying "is not a valid directory on the server" .

-Josh
I too am having this same issue when I try the XML import of a TV File. I used to do this all the time but I didn't have the need for the last few months.

I use MediaScrapper Beta 13 to generate the XML files and they seem to be ok. Here is a sample of an XML file:

Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE sageShowInfo PUBLIC "-//NIELM//DTD SAGESHOWINFO XML 1.2//EN" "http://sageplugins.sourceforge.net/nielm_modules/sagexmlinfo/sageshowinfo_1_2.dtd">
<sageShowInfo version="1.2">
     <showList>
        <show>
           <title>Chuck</title>
           <episode>Chuck Versus the Anniversary</episode>
           <duration>2538</duration>
           <category>Action and Adventure, Comedy, Drama</category>
	         <description>Chuck and Morgan go on a rogue globe-spanning mission to find Chuck?s mom. Meanwhile, Sarah and Casey follow a trail to Russia as they investigate the mysterious Volkoff Industries and its operative, Marco. Back at home, Ellie delivers big news to her family.</description>
	         <rating>7.7</rating>
           <peopleList>
<person role="Actor">Zachary Levi</person>
<person role="Actor">Yvonne Strahovski</person>
<person role="Actor">Adam Baldwin</person>
<person role="Actor">Bonita Friedericy</person>
<person role="Actor">Julia Ling</person>
<person role="Actor">Vik Sahay</person>
<person role="Actor">Ryan McPartlin</person>
<person role="Actor">Scott Krinsky</person>
<person role="Actor">Mark Christopher Lawrence</person>
<person role="Actor">Sarah Lancaster</person>
<person role="Actor">Joshua Gomez</person>
<person role="Actor">Brandon Routh</person>
<person role="Actor">Matthew Bomer</person>
<person role="Actor">Linda Hamilton</person>
<person role="Actor">Dolph Lundgren</person>
<person role="Actor">Harry Dean Stanton</person>
<person role="Actor">Olivia Munn</person>
<person role="Actor">Bonita Friedericy</person>
<person role="Director">Robert Duncan McNeill</person>
<person role="Writer">Chris Fedak</person>
           </peopleList>
	   <year>2010</year>
	   <language>English</language>
           <originalAirDate>2010-09-20T23:00:00.00Z</originalAirDate>
           <misc>S04E01</misc>
           <airing duration="2538" startTime="2010-09-20T23:00:00.00Z">
           <parentalRating>TV-PG</parentalRating>
		            <isHDTV></isHDTV>
                <stereo></stereo>
                <mediafile type="TV">
                    <segmentList>
                        <segment filePath="\\SERVER\SageTV\Chuck S04E01 - Chuck Versus the Anniversary.mkv"/>
                    </segmentList>
                </mediafile>
           </airing>
        </show>
     </showList>
</sageShowInfo>
My SageTV recordings are all in \\Server\SageTV so I don't really know what to try to fix this import problem?
Any ideas?
__________________
SERVER: Intel Core i7-3770 CPU @ 3.40GHz - UnRaid Server 6.8.0/DVB LibreELEC with Docker stuckless-sagetv-server-java9 MOTHERBOARD: ASRock-Z77 Extreme4 / 32GB RAM CACHE DRIVE: SSD 1TB ARRAY: 24TB/7 DRIVES PARITY: 8TB
EXTERNAL DEVICES: 4x HD-PVR's Firewire Channel Changing
TUNERS:NO LONGER RECORDING LIVETV
CLIENTS: 2xHD300 2xHD200 SONY ANDROIDTV MINI-CLIENT
Reply With Quote
  #115  
Old 11-19-2010, 12:00 PM
jamesdisco's Avatar
jamesdisco jamesdisco is offline
Sage Advanced User
 
Join Date: Jul 2008
Location: N Yorks, UK
Posts: 234
Jason after your brilliant work updating the mobile web UI, im hoping the web UI will be next. Something i think people might find usefull is the web remote but showing feedback as to whats playing, this would then allow people to control the extenders without a TV attached or do things from a different room. I'm also hoping for streaming on android but know many people have asked for that.
Really appreciate your work on this you should get a donate button, the web uis are an indispensible part of sage for me.
__________________
Server: Win 10 64bit Core i3 8GB 20TB, TBS6985, TBS6984, Sage 9.
Clients: 5 x HD300, 2 x HD200, Placeshifter.
Reply With Quote
  #116  
Old 11-24-2010, 12:47 AM
leagle leagle is offline
Sage User
 
Join Date: Jul 2009
Location: Alexandria, VA
Posts: 22
Web UI error 404

Web Ui was working great for me for a long time. After I installed the Mobile Web UI, something happened and now the normal Web UI is no longer accessible. The plugin is installed and all of the files seem to be in their proper locations, but I get a 404 error when I try to navigate to the Web UI (sage/Home). The Mobile Web UI works fine and BMT web UI works fine, so I know that Jetty is running. I had the old web server installed under v6 and after I moved to v7, but I followed the instructions for uninstalling it before I upgraded to the new version using the plugin manager.

In my jetty/contexts folder I have:
apps.xml
bmt.xml
mediastreaming.xml
nielm_websrv.context.xml
sagewebapp.xml

Lastly, I don't know if this matters, but when I choose media streaming off of the apps page, i just get a blank page. Streaming works fine from the mobile UI, so I figured that there just wasn't a separate UI for streaming.

I've tried restarting the system and uninstalling/reinstalling the plugins. So far, nothing seems to be able to bring back the standard web UI.

Any help would be greatly appreciated.

Thanks.
__________________
Server Software: Sage Server (v7), Win 7 Pro
Server Hardware: ASUS P6T, i7-920, 6 GB DDR3, 2 x HDHR Prime using SageDCT (Fios)
Clients: HD300, HD200
Reply With Quote
  #117  
Old 11-28-2010, 08:14 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Quote:
Originally Posted by leagle View Post
Web Ui was working great for me for a long time. After I installed the Mobile Web UI, something happened and now the normal Web UI is no longer accessible. The plugin is installed and all of the files seem to be in their proper locations, but I get a 404 error when I try to navigate to the Web UI (sage/Home). The Mobile Web UI works fine and BMT web UI works fine, so I know that Jetty is running. I had the old web server installed under v6 and after I moved to v7, but I followed the instructions for uninstalling it before I upgraded to the new version using the plugin manager.

In my jetty/contexts folder I have:
apps.xml
bmt.xml
mediastreaming.xml
nielm_websrv.context.xml
sagewebapp.xml
Try shutting down Sage, deleting all the folders in jetty/webapps (but not the war files), then restarting Sage.

Quote:
Originally Posted by leagle View Post
Lastly, I don't know if this matters, but when I choose media streaming off of the apps page, i just get a blank page. Streaming works fine from the mobile UI, so I figured that there just wasn't a separate UI for streaming.
That's normal. That webapp doesn't have its own UI, other apps (e.g. Mobile Web Interface) interact with it via URLs to do video streaming.
__________________
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
  #118  
Old 12-01-2010, 10:59 PM
leagle leagle is offline
Sage User
 
Join Date: Jul 2009
Location: Alexandria, VA
Posts: 22
Quote:
Originally Posted by jreichen View Post
Try shutting down Sage, deleting all the folders in jetty/webapps (but not the war files), then restarting Sage.
That fixed it. Thanks!
__________________
Server Software: Sage Server (v7), Win 7 Pro
Server Hardware: ASUS P6T, i7-920, 6 GB DDR3, 2 x HDHR Prime using SageDCT (Fios)
Clients: HD300, HD200
Reply With Quote
  #119  
Old 01-08-2011, 04:45 PM
robogeek robogeek is offline
Sage Expert
 
Join Date: Apr 2003
Location: Appleton, WI USA
Posts: 568
Here is an updated sage_all.css file that alters the style of the Web UI to match the new style of the Jetty Web Server Apps page and the Mobile Web UI. (@jreichen, feel free to use/modify it for future releases if you want.)

To use this, unzip the sage_all.css file and insert it into the nielm_sagewebserver.war file. Here's how:

1. Extract sage_all.css from the attached sage_all.css.zip archive to SageTV\jetty\webapps
2. Make a copy of the SageTV\jetty\nielm_sagewebserver.war file someplace safe so you have a backup if you don't like the new style.
3. Next, rename the SageTV\jetty\webapps\nielm_sagewebserver.war file to nielm_sagewebserver.zip
4. Using Windows Explorer, drag sage_all.css to the nielm_sagewebserver.zip archive.
5. Choose the Copy and Replace option to replace the file in the archive with the new one.
6. Rename nielm_sagewebserver.zip back to nielm_sagewebserver.war
7. Delete the sage_all.css file you unzipped to the webapps directory.
8. Restart the Jetty Web Server plugin or restart SageTV and enjoy.

Here is a screenshot:

Attached Files
File Type: zip sage_all.css.zip (3.5 KB, 178 views)
__________________
--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
  #120  
Old 01-08-2011, 06:54 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Nice job Jason. Looks nice.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 3 (0 members and 3 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
Plugin: Mobile Web Interface 1.2 jreichen SageTV Customizations 281 06-17-2011 02:20 PM
Plugin: Sage Web Lite (SWL) Slugger SageTV Customizations 28 04-23-2009 01:32 PM
Web Plugin RSS feed question matt91 SageTV Customizations 1 07-28-2006 11:24 AM
error message with web server plugin edgley SageTV Customizations 3 01-15-2006 11:32 AM


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


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