|
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 |
#401
|
|||
|
|||
java.net.BindException: Address already in use: VM_Bind
This is a weird one.
I had sageweb working just fine for a few months. Some random sage hiccup caused my .properties file to get wiped out, so sageweb wasn't starting up. I fixed the properties file, but noticed sageweb still wasn't working. Looking in the sageweb log files, it said: "java.net.BindException: Address already in use: VM_Bind" I used "netstat -a" and determined that 8080 was indeed in use, but couldn't tell by what. I thought maybe some sort of trojan... I found a great utility from sysinternals.com called "tcpview" that tells you which program is associated with a bound port. Turns out, SageTv.exe is bound to port 8080... weiiiird. so, I modify the properties file to use 8081 for the sage webserver, restart sage. Indeed the webserver is running and working now on 8081, but TCPView shows SageTv.exe is still Listening on 8080 too! Attempting to connect on 8080 returns "HTTP 400 - Bad Request"... so there IS some sort of HTTP server running on 8080 (?). Is the webserver getting started up twice for some reason? Note, this "bad request" was the same error I was getting before switching to port 8081. Anyone have any ideas? It's working again now (though, 8081), and I'm getting ready to do a fresh re-install soon, so it's not too urgent, just thought this was weird. Thanks! Adam |
#402
|
||||
|
||||
That is a wierd one... one possibility is that you are using service mode, and the SageTV UI is also running a web-server (configured in sageclient.propertes)...
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#403
|
||||
|
||||
Update webserver to v1.2!
I have been off sick for a while, and found some motivation to update the webserver...
IMPORTANT: if upgrading, backup your realms.properties and menu.properties file so that any changes you made are not lost. See the Wiki page for download link. New version v 1.2 28 Apr 2005 Global:
Conflicts:
EPG grid/list:
Detailed Info:
Experimental new feature:
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki Last edited by nielm; 04-29-2005 at 08:21 AM. |
#404
|
||||
|
||||
minor update to v1.3
One bug (at least) slipped through the net!
v1.3 29 Apr 2005 Global:
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#405
|
||||
|
||||
Everything is working great for me... As always Neil, you keep brings us great additions to sage.
Keep it up! |
#406
|
|||
|
|||
Thanks!!
I just installed the Webserver for the first time, and it looks good. I guess that "favorites management" is delayed again until the mythical next version? I set it up running on the standard port 8080. But since I manage my own domain DNS through zoneedit.com, I was able to make it easier to access my SageServer without having to type in the :8080/sage/home stuff. I set it up so that Sage.mydomain.com web-forwards to http://home.mydomain.com:8080/sage/home . home.mydomain.com is the dynamic IP address to the home router, and the router forwards port 8080 to the SageServer. Thanks, Jack |
#407
|
||||
|
||||
just to clairfy why port 8080 was used: lots of viruses attack port 80, so using a different port avoids a great majority of these attacks (the attacks are usually directed at IIS exploits, which should not affect this webserver, but IMHO it is better to be safe...)
Favorites management are delayed... According to the announcements, SageTV3 (whenever it appears) will allegedly have a web UI, and should handle favorites, so I am reluctant to do work that will effectively be made redundant in a few weeks/months/whenever we see V3...
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#408
|
|||
|
|||
regarding favorites management, I can understand not wanting to spend time coding something that will be obsoleted in the (hopefully) near future.
And the 8080 stuff I understand also. I just wanted to mention that it was possible to have the webserver running on 8080 to minimize possible attacks but set up an alternate (short and easy, ie: sage.mydomain.com) URL that web-directs you to http://home.mydomain.com:8080/sage/home URL. I'll probably even move it from 8080 to something else later, help improve the "Security through Obscurity" Jack |
#409
|
||||
|
||||
Great web server! I've been using 1.1 for a while, just installed 1.2. Looks great except the "Down Arrow" doesn't show up in program guide - grid view in Firefox. It does show up in IE6 though. So, in Firefox (my preferred browser) I have no way of using the mouse to page down! Is it only me?
Thanks, Rob |
#410
|
||||
|
||||
It shows up fine for me using firefox and win XP.
|
#411
|
||||
|
||||
Force EPG update result in the following error screen:
Exception while processing servlet: java.lang.reflect.InvocationTargetException: Exception while executing SageApi: "GetChannelNumbersForLineup" numargs=2 java.lang.reflect.InvocationTargetException: Exception while executing SageApi: "GetChannelNumbersForLineup" numargs=2 at net.sf.sageplugins.webserver.SageApi.Api(SageApi.java:20) at net.sf.sageplugins.webserver.ForceEpgUpdateServlet.doServletGet(ForceEpgUpdateServlet.java:45) at net.sf.sageplugins.webserver.SageServlet.doGet(SageServlet.java:128) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at Acme.Serve.ServeConnection.runServlet(Serve.java:1528) at Acme.Serve.ServeConnection.parseRequest(Serve.java:1503) at Acme.Serve.ServeConnection.run(Serve.java:1392) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.reflect.InvocationTargetException at sage.SageTV.api(Unknown Source) at net.sf.sageplugins.webserver.SageApi.Api(SageApi.java:17) ... 8 more Caused by: sage.a.e: Error in method reflection of GetChannelNumbersForLineup of java.lang.NullPointerException at sage.u.a(Unknown Source) at sage.ai.if(Unknown Source) ... 10 more |
#412
|
||||
|
||||
That's strange. I attached a screen shot, the other arrows are visible, just no down arrow!
Rob |
#413
|
||||
|
||||
It's strange how your's seems to overlap... And after manouvering around the chennels a bit I did notice times when the down arrow was gone, a quick refresh brought it back.
Seems like there is something fishy. |
#414
|
||||
|
||||
You're right, after a refresh (browser refresh - not the refresh on the page), it comes and goes.
Rob |
#415
|
||||
|
||||
I just retested in forefox 1.0.3, and yep the down arrow seems to appear and disappear at random...
So much for standards compliant browsers... I tell the arrow to appear on top of everything and it goes and hides! And it seems to be completely random! Hitting F5 brings it back, but just hitting Go in the address bar makes it go away!.. (PS: I have no problems in Opera, which has been the nicest browser to code for, Both Moz/firefox and IE have had problems I had to work around...!) (some playing later... ) Try this... in webserver/webroot/sage/sage_all.css, find the block labelled 'table.epggrid td.channelid img.pagedown'; change the line 'bottom:2px;' to 'bottom: 0px;' and let me know if it works for you.
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#416
|
||||
|
||||
Still comes and goes, browser refresh seems to bring it back!
Rob (This was after a re-start of Sage) |
#417
|
||||
|
||||
Update to v 1.4
V1.4 May 1 2005
* Fix force EPG update button * Workaround annoying Firefox EPG-Grid bug which means that pageup/down arrows don't get drawn sometimes This means that the EPG cells with the pageup/pagedown buttons are no longer nicely aligned... If you don't use Firefox and this annoys you, you can uncomment the lines of css code in sage_all.css labelled 'Firefox bug workaround'
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#418
|
||||
|
||||
nielm,
You did it! Works great now on Firefox. Thanks for the hard work on a very useful and elegant utility. Just a suggestion, since this is usually used on a wired, fast network connection, how about a very long scrolling grid style guide that can be scrolled with the wheel mouse? Dishnetwork.com has a guide like that, not page based, just a very long single page where you scroll to the desired channel. Again, thanks! Rob |
#419
|
||||
|
||||
Quote:
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#420
|
||||
|
||||
Now that is cool! I didn't realize I could control the numbers of rows to display. It's perfect - scroll through all the channels I get.
Thanks again for this web server, it comes in handy to set things up when I'm at another computer like the garage, or downstairs. Rob |
Tags |
web |
Currently Active Users Viewing This Thread: 2 (0 members and 2 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugin: Mobile Web Interface 1.2 | jreichen | SageTV Customizations | 281 | 06-17-2011 02:20 PM |
Can't get Web-based User Interface to install | SSBrian | SageTV Customizations | 3 | 11-04-2008 08:12 PM |
Web User interface link for the metadata file. | zzmystique | SageTV Customizations | 0 | 06-21-2008 02:26 AM |
Idea to enhance the Web User Interface: Messaging | jbarr | SageTV Customizations | 3 | 05-14-2007 03:59 PM |
Linkplayer, Linktheater with SageTV Web User Interface | fyodor | SageTV Customizations | 0 | 10-08-2006 06:03 PM |