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
  #21  
Old 04-23-2009, 12:57 PM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
Might there be a JAR file I'm missing? I looked through the log and nothing jumped out at me.. (not that anything would as I'm no jetty expert)
I don't have SJQ (2.0) or SRE loaded. Does SWL rely on any jars from that?

Jim
Reply With Quote
  #22  
Old 04-23-2009, 01:01 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Everything looks good - as far as I can tell from that log, the app is running. If the web site isn't loading then try accessing it directly from the server hosting it (if not doing so already). Seems like access might be restricted (perhaps a firewall setting or something?). There are no errors in the posted log explaining why the web site is not being served by Jetty.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #23  
Old 04-23-2009, 01:02 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by jbuszkie View Post
Might there be a JAR file I'm missing? I looked through the log and nothing jumped out at me.. (not that anything would as I'm no jetty expert)
I don't have SJQ (2.0) or SRE loaded. Does SWL rely on any jars from that?

Jim
Nope, each app is self-contained in its own war - each war contains all the jars it needs to run.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #24  
Old 04-23-2009, 01:06 PM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
one Thing I saw looking in the changelog. Was a comment on the last build about forcing the servlet to use SSL. since I'm not using SSL, could that be the issue?

jim
Reply With Quote
  #25  
Old 04-23-2009, 01:09 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by jbuszkie View Post
one Thing I saw looking in the changelog. Was a comment on the last build about forcing the servlet to use SSL. since I'm not using SSL, could that be the issue?

jim
What's the context file look like?
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #26  
Old 04-23-2009, 01:14 PM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
It's your default from build 332
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">
<!--
      Copyright 2009 Battams, Derek
       
       Licensed under the Apache License, Version 2.0 (the "License");
       you may not use this file except in compliance with the License.
       You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

       Unless required by applicable law or agreed to in writing, software
       distributed under the License is distributed on an "AS IS" BASIS,
       WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
       See the License for the specific language governing permissions and
       limitations under the License.
       
       $Id: swl.context.xml 332 2009-03-08 23:49:03Z derek@battams.ca $
-->
   <Set name="contextPath">/swl</Set>
   <Set name="war"><SystemProperty name="jetty.home" default="."/>/webapps/swl.war</Set>
   <Set name="extractWAR">true</Set>
   <Set name="copyWebDir">true</Set>
  <Get name="securityHandler">
    <Set name="userRealm">
      <New class="org.mortbay.jetty.security.HashUserRealm">
        <Set name="name">SageTV Web Interface</Set>
        <Set name="config"><SystemProperty name="jetty.home" default="."/>/etc/realm.properties</Set>
      </New>
    </Set>
    <Set name="checkWelcomeFiles">true</Set>
    <Set name="constraintMappings">
      <Array type="org.mortbay.jetty.security.ConstraintMapping">
        <Item>
          <New class="org.mortbay.jetty.security.ConstraintMapping">
            <Set name="constraint">
              <New class="org.mortbay.jetty.security.Constraint">
                <Set name="name">BASIC</Set>
                <Set name="roles">
                  <Array type="java.lang.String">
                    <Item>user</Item>
                    <Item>admin</Item>
                    <Item>moderator</Item>
                  </Array>
                </Set>
                <Set name="authenticate">true</Set>
                <Set name="dataConstraint">2</Set>
              </New>
            </Set>
            <Set name="pathSpec">/*</Set>
          </New>
        </Item>
      </Array>
    </Set>
  </Get>
</Configure>
If that's the context file your talking about...
Reply With Quote
  #27  
Old 04-23-2009, 01:17 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Ok, forgot I even did that - it was part of my "security awareness blitz" with all my plugins a month or two back. Remove this line:

<Set name="dataConstraint">2</Set>

Of course, doing so means your login info is passed around in plain text.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #28  
Old 04-23-2009, 01:21 PM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
Quote:
Originally Posted by Slugger View Post
Ok, forgot I even did that - it was part of my "security awareness blitz" with all my plugins a month or two back. Remove this line:

<Set name="dataConstraint">2</Set>

Of course, doing so means your login info is passed around in plain text.
I was just about to try that! I was just looking at the jetty class constraint
info... :-)

damn.. I should be working! and one day I'll set up ssl...

Jim
Reply With Quote
  #29  
Old 04-23-2009, 01:32 PM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
Excellent.. That worked! now all I have to do is figure out how you did all this! I'm dying to make a web based playlist manager (or have someone else do it) I suck at writing my own code from scratch (hardware guy by nature) but I'm pretty good about hacking up other people's code!

Oh.. And thanks again..

Jim
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 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
How do I get sage to recognize my media player plugin? redondo_se SageTV Studio 7 01-26-2009 04:43 PM
A Couple of Sage Web Server Questions... robhix SageTV Customizations 4 01-22-2009 06:37 PM
Sage is relying on its cached metadata too much bastafidli SageTV Beta Test Software 6 08-06-2008 05:46 AM
Sage Plugin for Chat, AIM or Google Chat personalt SageTV Customizations 1 06-24-2008 03:50 PM
Sage crashes rfutscher SageTV Software 0 01-23-2006 04:31 PM


All times are GMT -6. The time now is 07:12 PM.


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