|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#141
|
||||
|
||||
Yep... Just checked the JAR versions vs the archive and they are all the same?
__________________
Sage Machine: P4 2.4GHz, 1GBB DDR-2 RAM, 20GB System HD, 300GB, 500GB, 1TB for recordings, BenQ DL DVD Burner, Hauppage 350, USB2, and HVR-1600 |
#142
|
||||
|
||||
Did you remove all the Jetty 6.1.11 jar files from the JARs folder?
Are there any other servlet-api*.jar files in the JARs folder? If those look fine, could you post your log file?
__________________
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. |
#143
|
||||
|
||||
I thought I had removed all of them, but I had missed servlet-api-2.5-6.1.11.jar
I removed that and restarted sage, but still no luck (and at some point this evening I've managed to break nielms webserver too). Here is the contents of my JARS directory: Code:
Directory of C:\Program Files\SageTV\SageTV\JARs 09/20/2008 12:47 AM <DIR> . 09/20/2008 12:47 AM <DIR> .. 09/12/2007 08:45 PM 54,829 activation.jar 07/26/2009 01:50 PM 1,034,049 ant-1.6.5.jar 07/12/2009 09:13 PM 46,725 commons-codec-1.3.jar 07/28/2007 03:55 AM 279,383 commons-httpclient-3.0.jar 07/12/2009 09:13 PM 109,043 commons-io-1.4.jar 03/29/2006 10:26 AM 268,794 commons-jxpath-1.1.jar 07/12/2009 09:13 PM 261,809 commons-lang-2.4.jar 03/29/2006 10:26 AM 31,605 commons-logging.jar 07/28/2007 03:55 AM 38,015 commons-logging-1.0.4.jar 03/29/2006 10:26 AM 22,327 commons-logging-api.jar 07/12/2009 09:13 PM 373,438 commons-vfs-20070823.jar 07/26/2009 01:50 PM 3,566,844 core-3.1.1.jar 10/13/2008 09:46 PM 18,293 df_sageutils.jar 12/03/2007 01:35 PM 539,093 gkusnick.sagetv.jar 07/12/2009 09:13 PM 288,098 htmlparser.jar 11/26/2008 10:48 AM 3,527 imageutils.jar 01/02/2009 06:12 PM 263,903 jcifs-1.1.6.jar 03/23/2005 10:45 AM 72,906 jdic.jar 07/26/2009 01:50 PM 526,754 jetty-6.1.19.jar 07/26/2009 01:50 PM 30,205 jetty-ajp-6.1.19.jar 07/26/2009 01:50 PM 21,585 jetty-rewrite-handler-6.1.19.jar 07/26/2009 01:50 PM 18,376 jetty-sslengine-6.1.19.jar 07/26/2009 01:50 PM 16,612 jetty-starter.jar 07/26/2009 01:50 PM 173,609 jetty-util-6.1.19.jar 07/26/2009 01:50 PM 1,026,148 jsp-2.1.jar 07/26/2009 01:50 PM 4,899 jsp-2.1-jetty-6.1.19.jar 07/26/2009 01:50 PM 134,855 jsp-api-2.1.jar 09/12/2007 08:45 PM 358,085 log4j.jar 07/12/2009 09:13 PM 391,834 log4j-1.2.15.jar 07/12/2009 09:13 PM 665,686 lucene-core-2.3.2.jar 09/12/2007 08:45 PM 355,030 mail.jar 12/15/2007 06:27 PM 15,590 mailcheck.jar 07/12/2009 09:13 PM 392,184 metadata-updater.jar 04/30/2009 06:02 PM 107,221 miglayout-3.6.3-swing.jar 03/29/2006 10:26 AM 148,179 mx4j-impl.jar 03/29/2006 10:26 AM 261,135 mx4j-jmx.jar 03/29/2006 10:26 AM 167,500 mx4j-remote.jar 03/29/2006 10:26 AM 491,164 mx4j-tools.jar 09/20/2008 02:18 AM <DIR> NetFlix 08/10/2008 12:13 PM 120,255 netflix.jar 10/20/2005 03:00 PM 28,080 nielm_getrssnews.jar 07/06/2009 07:09 PM 52,780 nielm_sageimdb.jar 12/21/2007 09:46 PM 33,916 nielm_sagemenureader.jar 03/09/2009 03:10 PM 14,656 nielm_sageutls.jar 03/09/2009 03:10 PM 393,748 nielm_sagewebserver.jar 03/09/2009 03:10 PM 62,202 nielm_sagexmlinfo.jar 07/12/2009 09:13 PM 199,849 phoenix.jar 07/28/2007 03:55 AM 20,542 rsslib4j-0.2.jar 10/13/2008 09:46 PM 66,795 sagemc.jar 07/12/2009 09:13 PM 308,720 sagex.api.jar 03/29/2006 10:26 AM 89,764 sbbi-jmx-1.0.jar 05/04/2006 08:56 AM 109,503 sbbi-upnplib-1.0.3.jar 12/04/2005 06:25 PM 31,789 servlet.jar 07/26/2009 01:50 PM 134,133 servlet-api-2.5-6.1.19.jar 53 File(s) 14,246,064 bytes 3 Dir(s) 6,809,944,064 bytes free
__________________
Sage Machine: P4 2.4GHz, 1GBB DDR-2 RAM, 20GB System HD, 300GB, 500GB, 1TB for recordings, BenQ DL DVD Burner, Hauppage 350, USB2, and HVR-1600 |
#144
|
||||
|
||||
Also if it helps at all bmt's web interface is functioning properly.
__________________
Sage Machine: P4 2.4GHz, 1GBB DDR-2 RAM, 20GB System HD, 300GB, 500GB, 1TB for recordings, BenQ DL DVD Burner, Hauppage 350, USB2, and HVR-1600 |
#145
|
|||
|
|||
Have you tried shutting down SageTV (or SageTV Service if running as service) and deleting the jetty\webapps\SageWebApp directory and then restarting SageTV? The SageWebApp directory should be recreated when SageTV is restarted. I had to do that to get 1.6 jetty web interface running.
__________________
--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 |
#146
|
||||
|
||||
It looks like a versioning problem with some Java servlet classes. BMT may not be using any new APIs that would be missing from an old class.
I think the servlet.jar and servlet-api-2.5-6.1.19.jar files are different versions of the same classes. Take a look at them in WinZip to verify if they have similar classes in them. If they are, move servlet.jar off to a safe backup location outside the SageTV folder and restart SageTV.
__________________
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. |
#147
|
|||
|
|||
I have the same servlet.jar and don't have those issues. The only potential jar issue I can see though, would be the log4j.jar and log4j-1.2.15.jar. I think the log4j.jar should be removed, but I don't think keeping it there would cause these issues with jetty. I think stuckless includes the log4j-1.2.15.jar with BMT to replace the original log4j.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 |
#148
|
||||
|
||||
ironically I just updated to Jetty 1.6 tonight and I was having some issues (which I've resolved). My issue was that I was that even though I was no longer running on port 8081 (i switched to 8080), my bookmark was still pointing to 8081. When I clicked the bookmark, the UI actually loaded (with some errors) even though it was pointing to 8081 (which was no longer there) because of the browser cache. When I forced a refresh (shift + reload) I got a 404 page not found, and I realized that I was pointing to the totaly wrong port. After switching to the correct port, and forcing a shift + reload, it now works.
__________________
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 |
#149
|
||||
|
||||
Quote:
__________________
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. |
#150
|
|||
|
|||
Yes, it is. It's part of the nielm web server package and I'm running both the nielm web server and the jetty web server with the mobile web interface without issues.
__________________
--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 |
#151
|
||||
|
||||
Quote:
Yep thats the one...
__________________
Sage Machine: P4 2.4GHz, 1GBB DDR-2 RAM, 20GB System HD, 300GB, 500GB, 1TB for recordings, BenQ DL DVD Burner, Hauppage 350, USB2, and HVR-1600 |
#152
|
||||
|
||||
Quote:
BUT did it again just now and everything is up and running now! Both nielm's and mobile! Thanks for the help folks!
__________________
Sage Machine: P4 2.4GHz, 1GBB DDR-2 RAM, 20GB System HD, 300GB, 500GB, 1TB for recordings, BenQ DL DVD Burner, Hauppage 350, USB2, and HVR-1600 |
#153
|
||||
|
||||
Great! Sorry it took so long to get you up and running. Classpaths and Jar versioning can be a headache sometimes.
__________________
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. |
#154
|
||||
|
||||
Not to drag this out longer, but could you post the versions of nielm's web, jetty, and mobile web that you're running?
__________________
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. |
#155
|
||||
|
||||
Quote:
For those who are reading and are interested in a little more detail than that: The only way to generate dynamic content with the current web server is using servlets. It does not support JSPs. For the mobile web interface, I wasn't about to write more servlet code that generates HTML. Servlets are fine for backend logic (calling a Sage API to schedule a recording), but it's difficult to work with servlets that generate HTML (the page with the list of scheduled recordings). If you look at the mobile web interface code you'll see a better separation between model (Sage APIs and the wrapper tag library I generated), view (JSPs) and controller (mostly servlets). The current web server also tightly integrates the "server" with the "application", so it won't run multiple apps. Running Mobile Web Interface, Sage Job Queue, Batch Metadata Importer, etc web apps on one port would not be possible. It would require a separate web server for each application, and as you can imagine that would not be good for developers or users. Hopefully at some point nielm's web interface can be modified/rewritten to run in Jetty, too - eliminating the mobile web server's dependencies on it in version 1.2 was the first step needed to do that. After thinking through those problems, I went looking for an embeddable Java web server to support both JSP development and multiple apps and chose Jetty. There are other advantages as well, including running both an SSL and a non-SSL port at the same time and redeploying a web app without restarting Sage (though admittedly that doesn't work 100% of the time). The Jetty plugin is the Jetty server itself plus a little bit of code I wrote to hook Jetty into Sage. I realized there would be some who would question the move to Jetty, but in the big picture (all web apps under one server) I felt it was a good move. Quote:
The sample looks like it's more like redirecting to iPhone-specific pages (essentially a 3rd web interface) rather than skinning the pages for iPhones. Ideally the existing pages would be modified to be more "skin-friendly" (I'd do this to the mobile web interface pages, the HTML is much simpler in those than in nielm's). They currently have stylesheet support, but not enough to be skinned. And rather than JavaScript, I'd probably determine the client's browser when building the jsp page on the server side and include the appropriate headers and stylesheets at that time. To get all the advantages of iUI (animations, etc), though, in the end might require different pages. I wouldn't know for sure without prototyping. I have an iPhone, but maybe contrary to most others I prefer the Sage look on the pages. Aside from the iPhone, is there much interest out there for skinning/themes? Quote:
Quote:
__________________
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. |
#156
|
|||
|
|||
Quote:
webserver_2_24.zip jettystarter_1_6.zip SageWebApp_1_2.zip The servlet.jar was in webserver_2_24.zip/bin/jars. I have an apache web server (WAMP Server v2.0) running on port 80, nielms web server running on port 8080 and jetty running on port 8081.
__________________
--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 |
#157
|
|||
|
|||
Hi all,
I'm trying to install the Mobile web interface for the first time. I have installed the latest version of Jetty and the web interface from and believe I have followed the instructions fromt the wiki corerctly. I have left the password and port as the default ones for now. However I am unable to log in - I just keep being asked for the username and password. Any idea as to what could be wrong? Any useful logs I could look at? Thanks T |
#158
|
||||
|
||||
Quote:
Turn on Sage's debug logging by setting debug=TRUE in Sage.properties. Make sure Sage is not running when modifying the properties file. Also, uncomment the DEBUG and VERBOSE lines in JettyStarter.properties to enable Jetty's own debug logging. Messages will be written to Sage's log file. This requires a restart of Sage.
__________________
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. |
#159
|
|||
|
|||
Quote:
Quote:
What kind of thing should I then be looking for in the logs? Many thanks for your help! T |
#160
|
||||
|
||||
Quote:
Code:
VERBOSE=true Is there any kind of firewall on your network that might be blocking HTTP headers? Do you have cookies enabled? If you're familiar with the Live HTTP Headers plugin in Firefox you could capture the request and response headers and post them 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. |
Tags |
mobile, web |
Currently Active Users Viewing This Thread: 2 (0 members and 2 guests) | |
|
|
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 |
Wanted: Developer for Web Interface Mobile | Brent | SageTV Customizations | 249 | 02-09-2009 11:21 PM |
Web Interface Questions | SoonerToucan | SageTV Customizations | 1 | 09-14-2004 04:16 AM |
Web interface possible in the near future? | debennett2 | SageTV Software | 7 | 06-05-2004 06:51 AM |
web interface | fmalabre | SageTV Beta Test Software | 6 | 04-28-2004 12:57 AM |