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
  #61  
Old 09-27-2009, 03:34 AM
loomdog32's Avatar
loomdog32 loomdog32 is offline
Sage Advanced User
 
Join Date: Jun 2008
Location: West Texas
Posts: 229
Quote:
Originally Posted by jreichen View Post
If you're upgrading the plugin, did you remove the jar files for Jetty 6.1.7 and 6.1.11? There are instructions on the wiki on how to do that.

The mime type API's weren't available in those versions (the plugin now comes with 6.1.19) so I suspect you have old jar files in your classpath.
This was a new clean install of 1.6...

But that was exactly what was wrong.. Not sure how I got the older files..

Thanx
Reply With Quote
  #62  
Old 12-03-2009, 12:09 PM
tchapin tchapin is offline
Sage Aficionado
 
Join Date: Aug 2007
Posts: 279
Question jetty install problem?

Hi there.

I'm interested in trying out BMT, and as it requires the Jetty plugin, I installed that as well. However, I'm encountering a problem.

I changed the port from the default to 8086.

When I visit it, I get:

Quote:
Error 404 - Not Found.

No context on this server matched or handled this request.
Contexts known to this server are:
/bmt ---> org.mortbay.jetty.webapp.WebAppContext@141fe06{/bmt,C:\Program Files\SageTV\SageTV\jetty/webapps/bmt.war}
/ ---> org.mortbay.jetty.handler.ContextHandler@150be9{/,file:/C:/Program%20Files/SageTV/SageTV/jetty/static}
When I visit the /bmt directory, I get:

Quote:
I see a toolbar across the top of the page, then below that, "Phoenix", "Metadata Tools", and "SageTV".

I have not knowingly installed any other Jetty plugins.

In any case, when I visit the page, I am not asked for the user name or password. I then get three pop up messages "Failed to get staus for:" "Phoenix", "Metadata Tools", and "SageTV".
Any ideas?

Thanks.

Todd
Reply With Quote
  #63  
Old 12-03-2009, 12:58 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
I get that as well, try shutting down SageTV, going into the Jetty\webapps folder and deleting the bmt folder.
Reply With Quote
  #64  
Old 12-03-2009, 01:17 PM
woribhabor woribhabor is offline
Sage User
 
Join Date: Apr 2009
Location: Aspen
Posts: 49
I installed Jetty according to the instruction. I'm simply trying to verify my install was successfull. I don't know what todo with it now that I have it installed, and I don't want to install plugins on top untill i know this step is succesfull.

As of now all I can achieve is the error message below as well.

================================
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@1d90252{/,file:/C:/Program%20Files/SageTV/SageTV/jetty/static}
Reply With Quote
  #65  
Old 12-03-2009, 01:25 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Yep, you're good to go. For plug-ins i'd start with the webserver as its by far the easiest and most stable.
Reply With Quote
  #66  
Old 12-03-2009, 01:47 PM
woribhabor woribhabor is offline
Sage User
 
Join Date: Apr 2009
Location: Aspen
Posts: 49
I thought this was a webserver? In anycase what webserver do you speak of? I just did a "webserver" search in the download and don't think i found it.
Reply With Quote
  #67  
Old 12-03-2009, 01:49 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Sorry, I'm confusing my terminology, SageTV Web Interface...

http://forums.sagetv.com/forums/showthread.php?t=44680
Reply With Quote
  #68  
Old 12-03-2009, 05:42 PM
tchapin tchapin is offline
Sage Aficionado
 
Join Date: Aug 2007
Posts: 279
Quote:
Originally Posted by evilpenguin View Post
I get that as well, try shutting down SageTV, going into the Jetty\webapps folder and deleting the bmt folder.
Hey EP,

Ok. I just tried that and I get the same result. Should I delete the bmt.war file as well?

BTW, I created a jetty/static/index.html page and that got rid of the 404 when going to the jetty root URL.

Does this mean that the Jetty plugin is working correctly and that the issue is with BMT? I'm happy to flip back to that thread if so.

Thanks.

Todd
Reply With Quote
  #69  
Old 12-04-2009, 08:49 AM
tchapin tchapin is offline
Sage Aficionado
 
Join Date: Aug 2007
Posts: 279
Looks like there were two JARs that I had that were conflicting with BMT.

JARs\metadata-updater-1.16.jar and JARs\sagex.api-6.4.8-11.jar
Reply With Quote
  #70  
Old 12-05-2009, 09:13 AM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Looks like you figured it out yourself. I don't know if you've reported it to stuckless yet but it wouldn't hurt to let him know. He owns both of those jars.

You're not prompted for a login when accessing /bmt because that is configured at the application level, not the server level. Other apps (web interface, mobile web interface, recording extender, etc) are configured to require login. It might move to the server config at some point but that's how Jetty is set up by default (Jetty is a web server written by Mortbay and my plugin embeds it in Sage) and I haven't researched what it would take to change it.
__________________
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
  #71  
Old 12-08-2009, 09:41 AM
rdabate's Avatar
rdabate rdabate is offline
Sage User
 
Join Date: Mar 2008
Posts: 30
Install Problesm, Instructins not clear.

Hi Guys,

I'd like to test out BMI, but I guess I need to install this Jetty app. I'm trying to follow the directions specified at : http://tools.assembla.com/sageplugins/wiki/JettyInstall

I'm totally lost after Step 4.
It says to open up Sage.properties and add some lines, (I think), so I added the lines at the end of the file, an restarted Sage, but I get nothing when trying to access: http://media:8500/bmt/

media is the name of the PC I'm using.
BMT files have already been extracted.

Can someone out there enlighten me?
__________________
Rick
Reply With Quote
  #72  
Old 12-08-2009, 09:53 AM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
That is a little confusing. There should already be a line that starts with
Code:
load_at_startup_runnable_classes
. Add
Code:
sagex.jetty.starter.Main
after the equals sign. If there are other values to the right of the equals sign already, separate it from them with a semicolon. For example,
Code:
load_at_startup_runnable_classes=some.other.value;sagex.jetty.starter.Main
__________________
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
  #73  
Old 12-08-2009, 10:35 AM
rdabate's Avatar
rdabate rdabate is offline
Sage User
 
Join Date: Mar 2008
Posts: 30
Thanks

I'm an @$$!!!

There are two files, one acually named sage.properties (this file was wrong). And then another file called just "Sage", that showed as "properties" for a file type.

So I guess I was looking at the wrong file the whole time.

Thanks
__________________
Rick
Reply With Quote
  #74  
Old 12-08-2009, 11:33 AM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Windows is getting you confused by hiding the file extensions, you can disable that in the folder options menu and that should show you exactly what you need.

Attached Images
File Type: jpg unhideExtentions.jpg (144.5 KB, 753 views)
__________________
Clients: 1xHD200 Connected to 50" TH-50PZ750U Plasma
Server : Shuttle SFF SSH55J2 w/ Win7 Home, SageTV v7, Core i3 540, 2GB RAM, 30GB SSD for OS, 1.5TB+2x1TB WDGP for Recordings, BluRay, 2xHDHR, 1xFirewire
SageTV : PlayOn, SJQ, MediaShrink, Comskip, Jetty, Web Client, BMT


Having a problem? Don't forget to include a log! (Instructions for: PlayOn For SageTV v1.5, MediaShrink)
Reply With Quote
  #75  
Old 12-11-2009, 01:01 PM
steambuilder steambuilder is offline
Sage User
 
Join Date: Nov 2008
Location: Battle Creek, MI
Posts: 36
Are there dumbed down instructions for creating Certificates and SSL

I have Jetty installed with BMT and Mobile Webserver working well but would like to take the next step and use SSL. I have stared at the wiki for days now trying to figure out how to make a certificate and use ssl for secure remote access but apparently I don't have it in me. Is there a simple set of instructions somewhere that I am missing that would help me figure this out?

thanks
Doug
__________________
Server(headless): Gigabyte MB, Core2Duo E8500, 4G 1066 RAM, WinXP Pro SP3,OTA antenna only
Capture: 2-HVR-1600 Haupaugee, 1-HDHomeRun - Clients: 1-HD200 in Extender Mode
SageTV 7, Comskip w/ Dirmon2, TiSageTV
Reply With Quote
  #76  
Old 12-11-2009, 07:48 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Doug, I was also lost the first time I tried to set up SSL. There are two parts to setting it up: generating a certificate and configuring Jetty. Let's just look at the first one for now.

Generate a certificate
The browser and server use a certificate to encrypt your data. You can generate a certificate by running the keytool command that comes with Java. When you run the keytool command in step 1 on the wiki, it will step you through the prompts as shown in step 2. For personal use, you can use the same password for the key and keystore. The example uses the value 123456 for both passwords. Don't forget the password you choose, you'll need it a little later on. You can leave most of the fields blank except first and last name. If you don't have a domain name, I think you'll still be ok, just enter something else. After finishing the command, a file named .keystore will be created in your home directory.

Try to see if you can get that far. Ask questions if you're stuck. Once you get past this part, we'll move on to configuring SSL in the Jetty server.
__________________
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
  #77  
Old 12-12-2009, 12:34 PM
steambuilder steambuilder is offline
Sage User
 
Join Date: Nov 2008
Location: Battle Creek, MI
Posts: 36
Thanks jreichen for the hand holding. I have attached the message that I get when trying to create a certificate from the Sagetv home directory in a command prompt. Any suggestions as to what I am doing wrong? Can I put anything in as a password or numerals only?

Thanks for your help
Doug
Attached Files
File Type: txt certresponse.txt (368 Bytes, 401 views)
__________________
Server(headless): Gigabyte MB, Core2Duo E8500, 4G 1066 RAM, WinXP Pro SP3,OTA antenna only
Capture: 2-HVR-1600 Haupaugee, 1-HDHomeRun - Clients: 1-HD200 in Extender Mode
SageTV 7, Comskip w/ Dirmon2, TiSageTV
Reply With Quote
  #78  
Old 12-12-2009, 06:55 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
It can't find Java's keytool program. I'm not positive if it comes in the Java Runtime Edition (the one for end-users) download or if it only comes in the Java Development Kit (the one for developers with the compiler and other tools, also includes the JRE). If you let SageTV install Java, then it installed the Java Runtime Edition. Take a look under C:\Program Files\Java and find out what folders are there and post that list here. Also look in each of those folders for a bin and/or jre\bin folder and see if the keytool program is there. If it is then specify the full path to the program. If not you probably need to install the JDK to get the tool.
__________________
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
  #79  
Old 12-14-2009, 01:21 PM
dinki's Avatar
dinki dinki is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 682
I'm a dunce and can't get jetty installed. I followed the directions here:

http://tools.assembla.com/sageplugins/wiki/JettyInstall

and followed the steps one-by-one. I'm installing this on Win7 so I'm assuming that I should be editing sage.properties in the users\myusername\appdata\local\virtualstore\program files\sagetv\sagetv directory rather than c:\program files\sage tv\sage tv\sagetv.properties right? I get a 'The webpage cannot be displayed' error when trying to connect to localhost:8080 . It does try to connect for a while before giving me this error. I did shutdown sage and the service before installing and did restart the service after installing.

I tried setting debug options to on but I can't find sagetv1.txt (or whatever the debug file is called) to check on what is happening behind the scenes. This is a new install so bear with me. Any guidance is much appreciated!

Last edited by dinki; 12-14-2009 at 01:24 PM.
Reply With Quote
  #80  
Old 12-14-2009, 08:02 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
I wish I could be of some help but I haven't used Vista or Win 7 so I'm not familiar with UAC. You might try searching the forums, I know there's been discussion around it and explanation about how 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
Reply

Tags
web


Currently Active Users Viewing This Thread: 2 (0 members and 2 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: 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


All times are GMT -6. The time now is 02:46 AM.


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