|
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 |
#101
|
|||
|
|||
Is it possible you have some old .jar files hanging around in SageTV/JARs directory?
|
#102
|
|||
|
|||
only the ones listed above ... or ...
Do you mean in the SageTV directory itself ?
Is there a central place listing which JAR files are the most current so I can compare it to the ones listed in my post? or is the next step deleting my JAR directory and repopulating it from the Jetty 1.6, BMT 4.0 beta, TV Explorer and latest sagex files? and are there any JAR files placed in the JAR directory by SageTV itself I shouldn't delete? thanks for your help, Bobby
__________________
SageTV Server: Windows 7 64Bit, Phenom II X6 1090T, Asus M4A89GTD-PRO/USB3 (AM3), ATI Radeon HD 4290, 2 x KHX1600C9D3/4GX, 4 x HD-PVR2 Gaming, , 4 x 320GB recording drives, 2 x USB-UIRT, SageTV Server Beta SageTV Client & 2 x HD-300 Extender. 40.8TB unRaid 6.6.5 media server |
#103
|
|||
|
|||
@ perfessor - you do have duplicate jars in your jars directory (and lots of them relate to jetty).
Sage does put jars in that directory that it depends on so just don't go deleting everything and starting over from the log file you posted above (duplicates that I see are bold... i would probably delete either the older one or the one with the lower version number... after making a backup of course ) Code:
Sun 3/21 10:53:36.782 [main@df8f5e] classpath= C:\Program Files\SageTV\SageTV\Sage.jar C:\Program Files\SageTV\SageTV\xerces.jar C:\Program Files\SageTV\SageTV\plugin.jar C:\Program Files\SageTV\SageTV\ . C:\Program Files\Java\jre6\lib\ext\QTJava.zip JARs\activation.jar JARs\ant-1.6.5.jar JARs\commons-codec-1.3.jar JARs\commons-codec.jar JARs\commons-dbutils-1.3.jar JARs\commons-dbutils.jar JARs\commons-io-1.4.jar JARs\commons-io.jar JARs\commons-jxpath-1.1.jar JARs\commons-lang-2.4.jar JARs\commons-lang.jar JARs\commons-logging-api.jar JARs\commons-logging.jar JARs\commons-vfs-20070823.jar JARs\core-3.1.1.jar JARs\df_sageutils.jar JARs\gkusnick.sagetv.jar JARs\h2.jar JARs\htmlparser.jar JARs\imageutils.jar JARs\jcifs-1.1.6.jar JARs\jdic.jar JARs\jetty-6.1.11.jar JARs\jetty-6.1.19.jar JARs\jetty-ajp-6.1.19.jar JARs\jetty-rewrite-handler-6.1.19.jar JARs\jetty-sslengine-6.1.11.jar JARs\jetty-sslengine-6.1.19.jar JARs\jetty-starter.jar JARs\jetty-util-6.1.11.jar JARs\jetty-util-6.1.19.jar JARs\jsp-2.1-jetty-6.1.19.jar JARs\jsp-2.1.jar JARs\jsp-api-2.1.jar JARs\log4j-1.2.15.jar JARs\log4j.jar JARs\lucene-core-2.3.2.jar JARs\lucene-core.jar JARs\mail.jar JARs\mailcheck.jar JARs\metadata-updater.jar JARs\mx4j-impl.jar JARs\mx4j-jmx.jar JARs\mx4j-remote.jar JARs\mx4j-tools.jar JARs\nielm_getrssnews.jar JARs\nielm_sageimdb.jar JARs\nielm_sagemenureader.jar JARs\nielm_sageutls.jar JARs\nielm_sagewebserver.jar JARs\nielm_sagexmlinfo.jar JARs\phoenix.jar JARs\sagemc.jar JARs\sageortus.jar JARs\sagex.api.jar JARs\sbbi-jmx-1.0.jar JARs\sbbi-upnplib-1.0.3.jar JARs\servlet-api-2.5-6.1.11.jar JARs\servlet-api-2.5-6.1.19.jar JARs\servlet.jar
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#104
|
|||
|
|||
Thank you ...
Thanks razrsharpe that helped ...
I did a search on my installation drive for all the files that were in bold and kept the newest one from each couplet ... The web pages are up although I haven't done any testing of the features I'm most curious about ... here's the list of what I kept ... Code:
Directory of C:\Program Files\SageTV\SageTV\JARs 12/09/2007 09:45 PM 54,829 activation.jar 26/07/2009 01:50 PM 1,034,049 ant-1.6.5.jar 18/03/2010 05:22 PM 46,725 commons-codec.jar 18/03/2010 05:22 PM 41,376 commons-dbutils.jar 18/03/2010 05:22 PM 109,043 commons-io.jar 29/03/2006 10:26 AM 268,794 commons-jxpath-1.1.jar 18/03/2010 05:22 PM 261,809 commons-lang.jar 29/03/2006 10:26 AM 22,327 commons-logging-api.jar 29/03/2006 10:26 AM 31,605 commons-logging.jar 08/09/2009 10:02 PM 373,438 commons-vfs-20070823.jar 26/07/2009 01:50 PM 3,566,844 core-3.1.1.jar 13/10/2008 10:46 PM 18,293 df_sageutils.jar 13/01/2010 11:59 PM 582,133 gkusnick.sagetv.jar 18/03/2010 05:22 PM 1,241,864 h2.jar 18/03/2010 05:22 PM 288,098 htmlparser.jar 26/11/2008 11:48 AM 3,527 imageutils.jar 02/01/2009 06:12 PM 263,903 jcifs-1.1.6.jar 23/03/2005 10:45 AM 72,906 jdic.jar 26/07/2009 01:50 PM 526,754 jetty-6.1.19.jar 26/07/2009 01:50 PM 30,205 jetty-ajp-6.1.19.jar 26/07/2009 01:50 PM 21,585 jetty-rewrite-handler-6.1.19.jar 26/07/2009 01:50 PM 18,376 jetty-sslengine-6.1.19.jar 26/07/2009 01:50 PM 16,612 jetty-starter.jar 26/07/2009 01:50 PM 173,609 jetty-util-6.1.19.jar 26/07/2009 01:50 PM 4,899 jsp-2.1-jetty-6.1.19.jar 26/07/2009 01:50 PM 1,026,148 jsp-2.1.jar 26/07/2009 01:50 PM 134,855 jsp-api-2.1.jar 18/03/2010 05:22 PM 391,834 log4j.jar 18/03/2010 05:22 PM 822,794 lucene-core.jar 12/09/2007 09:45 PM 355,030 mail.jar 15/12/2007 07:27 PM 15,590 mailcheck.jar 18/03/2010 05:22 PM 447,999 metadata-updater.jar 29/03/2006 10:26 AM 148,179 mx4j-impl.jar 29/03/2006 10:26 AM 261,135 mx4j-jmx.jar 29/03/2006 10:26 AM 167,500 mx4j-remote.jar 29/03/2006 10:26 AM 491,164 mx4j-tools.jar 20/10/2005 04:00 PM 28,080 nielm_getrssnews.jar 04/12/2008 12:58 PM 47,019 nielm_sageimdb.jar 21/12/2007 10:46 PM 33,916 nielm_sagemenureader.jar 31/01/2010 09:32 AM 15,248 nielm_sageutls.jar 13/02/2010 01:11 PM 377,404 nielm_sagewebserver.jar 31/01/2010 09:32 AM 55,212 nielm_sagexmlinfo.jar 18/03/2010 05:22 PM 381,379 phoenix.jar 13/10/2008 10:46 PM 66,795 sagemc.jar 06/03/2010 05:17 PM 287,120 sageortus.jar 18/03/2010 05:22 PM 391,755 sagex.api.jar 29/03/2006 10:26 AM 89,764 sbbi-jmx-1.0.jar 04/05/2006 08:56 AM 109,503 sbbi-upnplib-1.0.3.jar 26/07/2009 01:50 PM 134,133 servlet-api-2.5-6.1.19.jar 04/12/2005 04:25 PM 31,789 servlet.jar 51 File(s) 15,384,948 bytes Bobby
__________________
SageTV Server: Windows 7 64Bit, Phenom II X6 1090T, Asus M4A89GTD-PRO/USB3 (AM3), ATI Radeon HD 4290, 2 x KHX1600C9D3/4GX, 4 x HD-PVR2 Gaming, , 4 x 320GB recording drives, 2 x USB-UIRT, SageTV Server Beta SageTV Client & 2 x HD-300 Extender. 40.8TB unRaid 6.6.5 media server |
#105
|
||||
|
||||
FYI, the wiki has a list of the jar files delivered with the various Jetty versions.
__________________
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. |
#106
|
||||
|
||||
Quote:
The reason Slugger's method works when it comes to avoiding file locks is that it's the only one of all those cases that will attempt to delete the existing temp dir before extracting the new war file. If the delete fails it will create a random dir name and extract the war to that dir, although it appears to only do that on the first redeployment. That's only apparent by analyzing the code.
__________________
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. |
#107
|
||||
|
||||
I'm making a first attempt at creating a servlet and have found some strange behavior that I do not understand. Thanks to stuckless I was finally able to create a small servlet that picks up an argument from the URL and displays a simple message in a browser. After changing the message, rebuilding the .war and copying the .war over to the webapp directory, the old message still appears. Even if I delete the .war file from the webapp directory the message appears. If I wait several hours after replacing the .war file the new message appears.
What's going on here? Does Jetty somehow cache the .war file? How can I get Jetty to pick up a .war file that I have updated? I was under the impression that I did NOT have to stop Sage (and Jetty) but could just replace the .war file on the fly. So much to learn, so little gray matter ...
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#108
|
|||
|
|||
@tmiranda - try using ctrl+f5 to fully refresh the page.... ie/firefox will cache pages so the load faster... and a normal refresh isn't enough sometimes to get the new content
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#109
|
||||
|
||||
I thought about that, but I put in different arguments and that did not change the behavior. i.e. the following give me the same behavior:
http://SERVER:8080/MyServlet/MyServlet?parameter=This http://SERVER:8080/MyServlet/MyServlet?parameter=That
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#110
|
||||
|
||||
You might be running into the file locking issue. Shut down Sage, install the new war file and restart Sage. There should be some info on that in this thread. I don't have time to go into details now but give that a shot and if you're still having trouble I can help you tonight.
__________________
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. |
#111
|
|||
|
|||
The inevitable question...
How significant is the port to Sage 7.0? How significant will it be for some of the Jetty apps? (I use SageJobQueue, SageAlert, and the Jetty version of Nielms web site) I am guessing you guys were given early access to 7.0 and hopefully got a jump on the task. Thanks for the awesome work Kent |
#112
|
||||
|
||||
Everything you use is ready and waiting for you. Just gotta plug it in, so to speak
__________________
PHOENIX 3 is here! Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient |
#113
|
|||
|
|||
Wow awesome news. It sounds like Sage did a great job of including all of you in the 7.0 development process. I am envious that you guys got a preview but you certainly deserve it, and I am reaping the rewards!
Thanks Kent |
#114
|
||||
|
||||
Quote:
Quote:
Quote:
You're welcome
__________________
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. |
#115
|
||||
|
||||
I created a new thread over on the SageTV V7 Customizations forum. Please post any V7 questions over there.
Thanks!
__________________
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. |
#116
|
|||
|
|||
Need help getting Jetty 1.6 plugin working
I can't get this plug-in to work. Spent hours trying already.
I browse to http://localhost:8500/sagem/m/menu.jsp but no page shows. I don't see any Jetty stuff in the sagetv_0.txt log either so i don't think Jetty is working. I've followed the installation instructions at http://tools.assembla.com/sageplugins/wiki/JettyInstall precisely. However, i don't have jetty/lib, jetty/log or jettty/static directories which the instructions show should be there. I am running SageTV 6.6 and want to run the mobile SageTV browser but it seems like Jetty isn't working. I am in Windows 7 x64. What do i do next?
__________________
- James M - Capture Devices: HDHomerunXTEND, HDHomerunPrime |
#117
|
||||
|
||||
When you extract the zip file, make sure to preserve the directory structure that was stored in the zip file. If not, you'll end up with all the files in the SageTV installation folder and won't have the required folder structure under 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. |
#118
|
|||
|
|||
Yes, i made sure i di dthat. I also added the following to
the sage.properties file: load_at_startup_runnable_classes=net.sf.sageplugins.webserver.StartServer; sagex.jetty.starter.Main and changed jetty.port=8500 in the JettyStarter.properties file that should be all i need but when i restart the sagetv server, i can't access the url http://localhost:8500/ i don't see any file in the C:\Program Files (x86)\SageTV\SageTV\jetty\logs directory either. What could be wrong?
__________________
- James M - Capture Devices: HDHomerunXTEND, HDHomerunPrime |
#119
|
||||
|
||||
Did you download SageWebserverSetup_2_25.exe, webserver_2_25.zip, or nielm_websrv_jetty_2_25.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. |
#120
|
|||
|
|||
i have been running Neilm's Webserver (not the jetty version) Ok for several months.
What i tried is this: I installed a fresh copy of the SageTV Media Center V6 on a clean system. Then I installed the Jetty plugin and the SageWebApp_1_2.zip app following instructions for install. It worked and browsing to http://localhost:8500/ shows: Quote:
So, for some reason, the Jetty server is not starting on my Sage server. Have no idea why.
__________________
- James M - Capture Devices: HDHomerunXTEND, HDHomerunPrime |
Tags |
web |
Currently Active Users Viewing This Thread: 3 (0 members and 3 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugin: MizookLCD (Alternate SageTV LCDSmartie Plugin) | cslatt | SageTV Customizations | 48 | 06-11-2012 10:44 AM |
MediaPlayer Plugin/STV Import: Winamp Media Player Plugin | deria | SageTV Customizations | 447 | 12-11-2010 07:38 PM |
Hulu: Possible to Use XBMC Hulu Plugin to create SageTV Plugin? | Brent | SageTV Customizations | 8 | 02-24-2009 04:16 PM |
Plugin: MizookLCD | spook | SageTV Customizations | 2 | 08-12-2008 11:31 AM |
Caller ID Plugin | computer33 | SageTV Customizations | 1 | 04-20-2005 09:02 PM |