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
  #1  
Old 01-30-2013, 12:06 PM
clarenceb5 clarenceb5 is offline
Sage Advanced User
 
Join Date: Jun 2007
Location: Whitby, ON
Posts: 89
nielm's Web Server getting HTTP ERROR 500

Recently installed SageTV from scratch on a new Windows 7 PC, everything as of now works great except for 1 thing that is bugging me and I can't figure out what is missing, I've used nielm's web server before and not encountered this error. I have a problem with nielm's web server, when I click on a show in the guide grid I get the following error:

"HTTP ERROR 500

Problem accessing /sage/DetailedInfo. Reason:

ServletConfig has not been initialized
Caused by:

java.lang.IllegalStateException: ServletConfig has not been initialized
at javax.servlet.GenericServlet.getServletContext(GenericServlet.java:185)
at javax.servlet.GenericServlet.log(GenericServlet.java:283)
at net.sf.sageplugins.webserver.SageServlet.log(SageServlet.java:70)
at net.sf.sageplugins.webserver.DetailedInfoServlet.<init>(DetailedInfoServlet.java:86)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153)
at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:419)
at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:478)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)"

I am using the latest web server plugin, I was getting this error with the default java version that gets installed with SageTV and also still getting this error after updating java to the latest version.

If anyone can point me in the right direction to a solution, I would very much appreciate it.

Thanks.
Reply With Quote
  #2  
Old 01-31-2013, 10:20 AM
wbarber69's Avatar
wbarber69 wbarber69 is offline
Sage Expert
 
Join Date: Oct 2004
Location: Hammond, La.
Posts: 512
Send a message via ICQ to wbarber69 Send a message via AIM to wbarber69 Send a message via MSN to wbarber69 Send a message via Yahoo to wbarber69
uninstall all plugins then reinstall
Reply With Quote
  #3  
Old 01-31-2013, 07:22 PM
clarenceb5 clarenceb5 is offline
Sage Advanced User
 
Join Date: Jun 2007
Location: Whitby, ON
Posts: 89
OK here is what I did : I uninstalled all my plugins, did a reboot of the pc, then installed "jetty web server", then rebooted again, then installed "SageTV Web Interface" and that's it nothing else and now I'm getting this every time I click on a TV show title anywhere in the "SageTV Web Interface":

And here is what I got:
"HTTP ERROR 503

Problem accessing /sage/DetailedInfo. Reason:

java.lang.IllegalStateException: ServletConfig has not been initialized
Caused by:

javax.servlet.UnavailableException: java.lang.IllegalStateException: ServletConfig has not been initialized
at org.mortbay.jetty.servlet.ServletHolder.makeUnavailable(ServletHolder.java:406)
at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:449)
at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:478)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)"
Reply With Quote
  #4  
Old 01-31-2013, 08:43 PM
mdnttoker mdnttoker is offline
Sage Aficionado
 
Join Date: Aug 2006
Posts: 446
Don't know if it's related, but I had issues with Java permissions when this happened to me once....rolling back to a prior java version worked at the time...might be something to try
Reply With Quote
  #5  
Old 02-08-2013, 10:49 AM
clarenceb5 clarenceb5 is offline
Sage Advanced User
 
Join Date: Jun 2007
Location: Whitby, ON
Posts: 89
OK so I've tried uninstalling java, installing an older release and still getting the error, so I updated java again to the latest and still getting the error. One thing I've noticed is that I'm not getting this error when I click on a program name when using the "SageTV Mobile Web Interface" I don't get an error when I click on a program name.
Reply With Quote
  #6  
Old 02-25-2013, 10:56 AM
clarenceb5 clarenceb5 is offline
Sage Advanced User
 
Join Date: Jun 2007
Location: Whitby, ON
Posts: 89
Nobody has any other input or suggestions on this error? I've tried several times removing all my plugins, rebooting my system with no plugins installed, reinstalling only the jetty web server and sagetv web interface, removing current release of java and installing an older release. Nothing I have tried seems to resolve this, is there a classpath I could be missing?
Reply With Quote
  #7  
Old 04-22-2013, 01:10 PM
clarenceb5 clarenceb5 is offline
Sage Advanced User
 
Join Date: Jun 2007
Location: Whitby, ON
Posts: 89
I finally resolved this problem but not by figuring out what is causing it and fixing it but by completely removing SageTV from the system, deleting all sagetv and frey technology folders. Reboot system and then start installation all over again. When I was re-installing all of the SageTV plugins that I like, I tested the SageTV WebServer after each and every plugin install, I noticed that installing plugin SageTV Recording Extender caused a problem with the SageTV WebServer so I removed SRE, the problem went away so I tried installing SRE again and it's fine now. I didn't write down or record the problem that came up when I first installed SRE I'm just happy it finally went away and now I don't have anymore problems like this with SageTV WebServer.

Thanks to everyone who provided a suggestion.
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
Can't connect to Web UI. HTTP Error 404 craigap Batch Metadata Tools 2 05-04-2012 11:05 AM
Unable to connect to BMT...HTTP Status 404 thalian Batch Metadata Tools 2 06-05-2011 09:12 PM
Passworded http webcam srcurtis SageTV Studio 1 06-30-2008 08:30 AM
http://www.sage.tv NOT WORKING? Sunkman General Discussion 6 09-06-2005 07:50 AM


All times are GMT -6. The time now is 03:25 AM.


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