|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Plugin: Jetty Web Server 2.0
Version 2.0 of the Jetty Web Server plugin is now available in SageTV v7's plugin repository. It can be installed and configured from the Plugin Manager in the SageTV UI. The Jetty wiki has information about installing and configuring the plugin. Please note there are different pages for SageTV v6 and v7.
Upgrades: For questions related to the upgrading of Jetty from SageTV v6 to SageTV v7, please continue to use the existing thread. Developers: If you have a web application, please take a look at the updated wiki page with information on how to customize your application's appearance on the new web applications page delivered with Jetty (screenshot above). What's New: Version 2.0 adds several new features. Some of these include:
__________________
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. Last edited by jreichen; 05-31-2010 at 03:19 PM. |
#2
|
||||
|
||||
Installing this upgrade seemed to delete *.jsp from my existing webapps (Web Server, Mobile Web Server, and SageAlert). To get them working again after the upgrade I had to manually stop the service, delete the deployments, and restart the service to force a redeploy.
Much as I like these plugins, I'm sorry to have to say this has been pretty typical of my experience with Jetty so far under V7. Almost anything I do in the way of installing or upgrading Jetty plugins breaks something that then requires manual intervention and multiple restarts to fix.
__________________
-- Greg |
#3
|
|||
|
|||
I also tried installing this and it is not working. It gives the following error page.
Quote:
Last edited by Peter_h; 05-29-2010 at 05:12 AM. |
#4
|
||||
|
||||
That's what Jetty prints when there's no path in the URL. Try http://<server>:<port>/apps.
__________________
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. |
#5
|
|||
|
|||
Ok, that works, thanks. Sorry, I didn't see that listed anywhere in the first post.
Can I customze what the links say? Also, my web interface link just shows up as "sage". It doesn't say "SageTV Web Interface" like your setup. |
#6
|
|||
|
|||
When I go to http://<server>:<port>/apps, I get a page that looks like this.
Quote:
__________________
Server: SageTV v9 on unRAID Docker; i5-2400; 16GB RAM; 9TB storage array; SiliconDust HDHR3 Client: Windows10; Intel Core2Duo; 4GB RAM; NVIDIA GeForce GT 1030 Client: NVIDIA ShieldTV Client: Fire TV Stick 4K |
#7
|
|||
|
|||
I have the same exact problem
|
#8
|
||||
|
||||
everything works fine for me. Thanks.
__________________
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 |
#9
|
||||
|
||||
OK, I seem to have a repeatable scenario in which restarting Jetty (using the button on its plugin configuration page) hoses all my webapps.
Attached are two directory listings of the contents of my jetty\webapps tree. Before the reset, with all apps working, the tree contains 1715 files. After the reset, the tree contains 70 files, and (not surprisingly) all the apps are broken (including Jetty's own "apps" app). All I did in between was restart Jetty. I did not change any WARs that would have entailed redeployment. I have Jetty logging set to Verbose and have included a copy of sagetv_0.txt, but I'm not seeing anything in there that would account for this behavior. As I noted earlier, getting back to a working state after this requires stopping the service and manually deleting the deployments. If there's any further experimentation I can do or information I can gather to help debug this, let me know.
__________________
-- Greg |
#10
|
||||
|
||||
Quote:
The app developer can change it but users can't. Mine is different than what you see because I changed it on my setup to test it. That will be included in the next update for the web UI. If devs don't customize it then it will be the context path of the app (i.e. bmt, sre, sjq, sage, etc).
__________________
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. |
#11
|
||||
|
||||
You're having the same problem GKusnick is talking about.
__________________
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. |
#12
|
||||
|
||||
That's strange. I'm suspecting it only happens on Windows so I would expect you to have the same problem. I don't know what OS everyone is using but I see you're on WHS so maybe that's why
__________________
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. |
#13
|
||||
|
||||
Quote:
I'm on linux and upgraded jetty without issue. So, maybe it's a windows thing.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#14
|
||||
|
||||
Quote:
I'm not sure why sometimes it shows up as a 404 error and other times as a 503 error. Or why it seems to be happening much more frequently in SageTV v7. I was able to create a Windows installation and recreate the issue so that helps a lot. I have a few things to try, hopefully one of those will give us a good resolution. FYI I'm also getting reports of the same problem over in the Mobile Web UI for v7 thread.
__________________
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. |
#15
|
||||
|
||||
Quote:
Looks like we cross-posted...
__________________
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. |
#16
|
||||
|
||||
Just another "me too" post of sorts.
I'm getting the same issue after having installed the new/beta SageAlert. The Mobile App and regular Web Interface still both work fine after updating Jetty (did that first) but as soon as I installed SageAlert (did that second), the /apps/ stopped working and SageAlert comes up as 503 Service not available. Let me know if there's any additional info I can provide / help with. Thanks so much for all this -- it really helps to make SageTV a superior PVR solution!
__________________
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 |
#17
|
||||
|
||||
Quote:
I'll still have to manually delete the deployments when I want to force a redeploy, but for now that's better than having the apps break every time I cycle the service. This workaround works for Niel's webserver and SageAlert. It did not work for the mobile web app without some extra fiddling, because that app apparently has the deployment path hard-coded in menu.jsp. (I'll make a note of that in the Mobile Web UI thread as well.)
__________________
-- Greg |
#18
|
|||
|
|||
Quote:
OK, the "apps" page was working for me. However, after installing SRE, I now get the same "problem" page as everyone else is reporting. |
#19
|
|||
|
|||
when i type in http://192.168.1.209:8080/apps and after entering the user/password I get the following error dump:
Any idea what I might be missing? Thanks in advance... Randy HTTP ERROR 500 Problem accessing /apps/. Reason: Code:
/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 Caused by: org.apache.jasper.JasperException: /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 at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:89) at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:375) at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:169) at org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:433) at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:238) at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:498) at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:578) at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1642) at org.apache.jasper.compiler.Parser.parse(Parser.java:181) at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:239) at org.apache.jasper.compiler.ParserController.parse(ParserController.java:140) at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:199) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:435) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:608) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:360) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) 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.servlet.Dispatcher.forward(Dispatcher.java:334) at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126) at org.mortbay.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:493) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81) at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:131) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387) 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) Last edited by RandyJohnson; 05-31-2010 at 10:23 AM. |
#20
|
|||
|
|||
I got this all working but had to do some "extra" stuff.
First, I know I updated the plugin but then didn't try anything so not sure when/where the problems came about but here is what I noticed that might help you troubleshoot some of these problems... When I went into my installed plugins I had several that were "Failed" and all appeared to be related to Jetty. I just did a complete reload of my entire system so wasn't sure if this is what broke it so wanted to check the settings. Under Jetty there was no longer a "configure" button??? I could reset it but not configure it? So, I decided to just uninstall all the web related stuff and Jetty. I then re-installed Jetty and it was showing as "Installed" but I still had no configure button. If I would exit Sage then restart and go back into the plugins, it would again tell me that Jetty "Failed". I uninstalled and reinstalled the Jetty plugin a couple times with the same results. I finally decided to just delete EVERY plugin in every tab on the plugins page (even all the Library plugins). After I had every plugin removed, I reinstalled the Jetty plugin. This indicated it worked but it didn't untill I exited Sage and then went back to the Jetty plugin. I finally had the "Configure" button back! I configured it to my settings, installed the web app and mobile web app and both are working as well as the "apps" page you talk about above. I'm no expert but to me it seems like the "Uninstall" button for Jetty doesn't remove enough "stuff". Mine only worked after I manually uninstalled the library files. Also, after installation of "Jetty", Sage needed to be restarted but the plugin install never asked me to do this... I had to restart manually. Also, what took me for a bit of a loop and not sure if this changed or I just changed the way I input it but when configuring the password for Jetty, I used my keyboard and entered a 4 digit number. I could have swore this is the way I did this last week when I first set this up but maybe not??? Anyway, from a different computer I couldn't get into it... I knew it was at least kinda working because the password box popped up but it wouldn't take my password! On a whim, I remembered seeing some letters pop up when I was entering the numbers so re-entered the password from my HTPC and it worked so I took note of the LETTERS that popped up when I was entering the numbers. I tried these and they worked from my remote computer. I tried to change my password using the remote and same thing happened. I'm pretty certain I didn't press the "6" key like four times just to get the number "6" for a password so I think this changed as well and is something to be aware of. Might be obvious to "texters" but I didn't really pay much attention when entering the password and didn't at first notice that when hitting "6" on the remote or keyboard, it really isn't "6". LOL Thanks for the hard work. Just wanted to post what I did to get it working. Thanks! |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
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: Jetty Starter 1.6 | jreichen | SageTV Customizations | 122 | 09-07-2012 06:48 PM |
error message with web server plugin | edgley | SageTV Customizations | 3 | 01-15-2006 11:32 AM |
Sage Web Server and existing web server compatibilty? | Brent94Z | SageTV Customizations | 6 | 01-18-2005 11:29 AM |