SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v9 Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV v9 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 9 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 9 and newer.

Reply
 
Thread Tools Search this Thread Display Modes
  #101  
Old 01-24-2022, 09:41 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
@jusjoken - One thing to put on your list when you get to BMT would be to incorporate the Phoenix Renamer into BMT and make a UI for it. Phoenix Renamer was also built by stuckless, see https://forums.sagetv.com/forums/showthread.php?t=58024. It allows you to rename your files based on metdata, like adding SXXEXX to the filename if you don't already have that. This will greatly help if you use the files in SageTV.

On this subject, there is a great program called Filebot that does this as well. It costs $6/yr, but it will take your files and match them with data from TVDB, TMDB, etc and then rename the file. There is a Windows version and there is also a docker that is available on unRAID through the apps plugin.

But why have a separate plugin when this process kind of fits into what BMT does, and/or what the new Sage web UI that incorporates BMT would look like?

And if you wanted to take things a step further, building in a transcoding option of the file using Handbrake or something similar could also make sense.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #102  
Old 01-24-2022, 02:23 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
Quote:
Originally Posted by DarkWolf77 View Post
Removed those jars and the problem persists. The * after the name just means the files are marked executable. Still getting 404 errors on sage/Home and apps. sagex and bmt are fine, for whatever reason... log attached.
There are no errors at all in that log. It shows all webapps started properly. I didn't see any indication of you running any apps and them failing which I expected to see...did you try to launch sage/Home and apps this time?

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #103  
Old 01-24-2022, 02:56 PM
graywolf's Avatar
graywolf graywolf is offline
Sage Icon
 
Join Date: Oct 2009
Location: NC
Posts: 1,389
Quote:
Originally Posted by jusjoken View Post
There are no errors at all in that log. It shows all webapps started properly. I didn't see any indication of you running any apps and them failing which I expected to see...did you try to launch sage/Home and apps this time?

K
And maybe clear browser cache???
Reply With Quote
  #104  
Old 01-24-2022, 07:02 PM
DarkWolf77 DarkWolf77 is offline
Sage Advanced User
 
Join Date: Dec 2006
Posts: 169
Quote:
Originally Posted by jusjoken View Post
There are no errors at all in that log. It shows all webapps started properly. I didn't see any indication of you running any apps and them failing which I expected to see...did you try to launch sage/Home and apps this time?

K
Error must have rolled off the log snippet I got,... it's tricky because the log is so verbose it gets bigger than the attachment allowed here fast.

Hopefully a better sample this time!

and I'm testing it using the wget command, so cache doesn't really come into the equation.
Attached Files
File Type: zip jettylogs_2022-01-24.zip (51.9 KB, 43 views)
Reply With Quote
  #105  
Old 01-24-2022, 07:55 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
Quote:
Originally Posted by DarkWolf77 View Post
Error must have rolled off the log snippet I got,... it's tricky because the log is so verbose it gets bigger than the attachment allowed here fast.

Hopefully a better sample this time!

and I'm testing it using the wget command, so cache doesn't really come into the equation.
First, the verbosity is ODD as your setting is INFO for logs and the logs is obviously running at DEBUG level...I do not understand why.

Second, again, there are NO errors in the log at all. All the commands seem to be related to bmt and all seem to be a success.

Third, I am not sure what you mean by you are testing it with wget??? You are not using a browser ?

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #106  
Old 01-24-2022, 09:32 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
For those of use running SageTV in a docker using the br0 network adapter setting - why should we use port 8080 for the Jetty webserver rather than port 80? Since SageTV is the only server running on that IP address, doesn't it just make life easier to forget about specify port numbers and use the default HTTP port? It isn't like you are going to have a conflict with anything else.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #107  
Old 01-24-2022, 09:50 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
Quote:
Originally Posted by wayner View Post
For those of use running SageTV in a docker using the br0 network adapter setting - why should we use port 8080 for the Jetty webserver rather than port 80? Since SageTV is the only server running on that IP address, doesn't it just make life easier to forget about specify port numbers and use the default HTTP port? It isn't like you are going to have a conflict with anything else.
I assume you know you can change it in the settings to use 80 mapped to internal 8080. Longer term I think the jetty port should internally default to something completely different like 9019.. Like plex and emby do... Just pick a number likely not used then host mode would work well and running on windows or Linux should be find too. Of course all this is configurable anyway

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #108  
Old 01-25-2022, 06:06 AM
DarkWolf77 DarkWolf77 is offline
Sage Advanced User
 
Join Date: Dec 2006
Posts: 169
Quote:
Originally Posted by jusjoken View Post
First, the verbosity is ODD as your setting is INFO for logs and the logs is obviously running at DEBUG level...I do not understand why.

Second, again, there are NO errors in the log at all. All the commands seem to be related to bmt and all seem to be a success.

Third, I am not sure what you mean by you are testing it with wget??? You are not using a browser ?

K
Argh...! Alright, I checked for "404" in there and at least saw the 404 happening, although they weren't marked "error" in the logs.

No idea about the debug setting... I shut down all of sage this time, wiped the log, and started it again, hammered the server with sage/Home, so hopefully something useful shows up.

Also, wget is a command line linux utility to "get" a web page. I like to use it for testing this sort of thing because it removes variables like browser caching, especially when you run it straight from the server, and you get to see the actual http headers. Although I'm running it from cygwin via ssh, as I'm not at my sage server at the moment. Anyhow, looks like this:
Code:
$ wget http://10.10.0.254:8800/sage/Home
--2022-01-25 07:05:25--  http://10.10.0.254:8800/sage/Home
Connecting to 10.10.0.254:8800... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-01-25 07:05:25 ERROR 404: Not Found.
Rest assured I am getting the error from the browser as well.

One more try... if this doesn't work I'm just going to do a fresh sage install. I could probably use that anyway.
Attached Files
File Type: zip jettylogs_20220125_065832.zip (331.6 KB, 38 views)

Last edited by DarkWolf77; 01-25-2022 at 06:12 AM. Reason: All that and I forgot to attach the log...
Reply With Quote
  #109  
Old 01-25-2022, 07:21 AM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
Quote:
Originally Posted by DarkWolf77 View Post
Argh...! Alright, I checked for "404" in there and at least saw the 404 happening, although they weren't marked "error" in the logs.

No idea about the debug setting... I shut down all of sage this time, wiped the log, and started it again, hammered the server with sage/Home, so hopefully something useful shows up.

Also, wget is a command line linux utility to "get" a web page. I like to use it for testing this sort of thing because it removes variables like browser caching, especially when you run it straight from the server, and you get to see the actual http headers. Although I'm running it from cygwin via ssh, as I'm not at my sage server at the moment. Anyhow, looks like this:
Code:
$ wget http://10.10.0.254:8800/sage/Home
--2022-01-25 07:05:25--  http://10.10.0.254:8800/sage/Home
Connecting to 10.10.0.254:8800... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-01-25 07:05:25 ERROR 404: Not Found.
Rest assured I am getting the error from the browser as well.

One more try... if this doesn't work I'm just going to do a fresh sage install. I could probably use that anyway.
The logs indicate that /sage/Home is giving a 404 not found error and /apps is giving a 401 not authenticated error.

How are you doing the authentication through wget? I tried the wget approach and received a 401 for even /sage/Home.

None of the webapps are failing based on the logs. Each one is indicating AVAILABLE so I do not understand the 404.

Can you check your jetty/webapps folder and ensure there are no subfolders other than "apidocs". Any other folder in there will be a temp folder and must be removed while SageTV is not running.

Another possibility while you have SageTV stopped is empty the jetty/work folder...these are all temp entries and Jetty will recreate the ones it needs.

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #110  
Old 01-25-2022, 07:39 AM
DarkWolf77 DarkWolf77 is offline
Sage Advanced User
 
Join Date: Dec 2006
Posts: 169
Quote:
Originally Posted by jusjoken View Post
The logs indicate that /sage/Home is giving a 404 not found error and /apps is giving a 401 not authenticated error.

How are you doing the authentication through wget? I tried the wget approach and received a 401 for even /sage/Home.

None of the webapps are failing based on the logs. Each one is indicating AVAILABLE so I do not understand the 404.

Can you check your jetty/webapps folder and ensure there are no subfolders other than "apidocs". Any other folder in there will be a temp folder and must be removed while SageTV is not running.

Another possibility while you have SageTV stopped is empty the jetty/work folder...these are all temp entries and Jetty will recreate the ones it needs.

K
That did it! I had the following folders in webapps:
MediaStreaming nielm_sagewebserver apps SageWebApp

and then I cleaned out work and now it's all working! I could have sworn I cleaned that up at some point, but *shrug*.

For basic http authentication (which is what jetty uses) you just append [user]:[password]@ before the url, as follows:

http://sageuser:mypassword@localhost:8080/sage/Home for example. If you want to access sage resources, this is a good way to pull without having to worry about authentication working. For example, I pull the rss feed of upcoming shows into a dashboard this way. (Home Assistant)
Reply With Quote
  #111  
Old 01-25-2022, 02:22 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
Quote:
Originally Posted by DarkWolf77 View Post
That did it! I had the following folders in webapps:
MediaStreaming nielm_sagewebserver apps SageWebApp

and then I cleaned out work and now it's all working! I could have sworn I cleaned that up at some point, but *shrug*.

For basic http authentication (which is what jetty uses) you just append [user]:[password]@ before the url, as follows:

http://sageuser:mypassword@localhost:8080/sage/Home for example. If you want to access sage resources, this is a good way to pull without having to worry about authentication working. For example, I pull the rss feed of upcoming shows into a dashboard this way. (Home Assistant)
Excellent. Good to see another success.
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #112  
Old 01-26-2022, 11:23 AM
hvymetal hvymetal is offline
Sage Advanced User
 
Join Date: Nov 2007
Posts: 162
FYI

sagex service not working with java16

https://forums.sagetv.com/forums/sho...&postcount=419
Reply With Quote
  #113  
Old 01-26-2022, 04:19 PM
farfromuman farfromuman is offline
Sage Advanced User
 
Join Date: Apr 2004
Location: Knoxville, TN
Posts: 128
After updating Jetty the service would not start. I deleted all the old Jetty JARs and also some JARs that had the same time stamp and I was able to start the service and update the rest of the webapps.

I also deleted around 30 other JARs that were there from before 2008 without any issues. Does Sage just load all of the files from that folder on startup?

Thanks.

W10 PRO 64 / SageTV64 9.2.6
__________________
Server: Sage 9; 8TB, i5 4690k 16GB DDR3 2XHDHR3, Windows 10 PRO 64BIT

Client 1: HD300; Panasonic TC-P65S64;
Client 2: HD300; Samsung 46" LCD;
Client 3: HD300; 60" LCD;
Reply With Quote
  #114  
Old 01-26-2022, 07:30 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
Quote:
Originally Posted by farfromuman View Post
Does Sage just load all of the files from that folder on startup?

W10 PRO 64 / SageTV64 9.2.6
Yes. And unfortunately due to shared dependencies, the upgrade process and uninstall process of plugins often leave JARs behind...as you saw.

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #115  
Old 01-26-2022, 09:05 PM
texneus texneus is offline
Sage Aficionado
 
Join Date: Nov 2009
Location: DFW
Posts: 279
@Jusjoken, is this the log you are looking for in the other thread I started?

Short problem description - getting 404 errors for both /sage/Home and /apps. Looks like I'm not alone...

Code:
# cat 2022_01_26.request.log
192.168.173.11 - - [26/Jan/2022:04:14:35 +0000] "GET /sage/Home HTTP/1.1" 404 453 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - - [26/Jan/2022:04:14:35 +0000] "GET /favicon.ico HTTP/1.1" 200 1150 "http://192.168.173.210:8080/sage/Home" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - - [26/Jan/2022:04:17:03 +0000] "GET /sage/Home HTTP/1.1" 404 453 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - - [26/Jan/2022:04:17:08 +0000] "GET /sage HTTP/1.1" 404 448 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - - [26/Jan/2022:04:42:32 +0000] "GET /sage/Home HTTP/1.1" 404 453 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - - [26/Jan/2022:04:42:32 +0000] "GET /favicon.ico HTTP/1.1" 200 1150 "http://192.168.173.210:8080/sage/Home" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - - [26/Jan/2022:04:55:36 +0000] "GET /sage/Home HTTP/1.1" 404 453 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - - [26/Jan/2022:04:55:38 +0000] "GET /sage/Home HTTP/1.1" 404 453 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - - [26/Jan/2022:04:57:37 +0000] "GET /sage/Home HTTP/1.1" 404 453 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - - [26/Jan/2022:05:02:02 +0000] "GET /sage/Home HTTP/1.1" 404 453 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - - [26/Jan/2022:05:02:03 +0000] "GET /sage/Home HTTP/1.1" 404 453 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - - [26/Jan/2022:05:02:21 +0000] "GET / HTTP/1.1" 302 0 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - - [26/Jan/2022:05:02:21 +0000] "GET /apps HTTP/1.1" 302 0 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - - [26/Jan/2022:05:02:21 +0000] "GET /apps/ HTTP/1.1" 401 464 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - texneus [26/Jan/2022:05:02:34 +0000] "GET /apps/ HTTP/1.1" 404 455 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - texneus [26/Jan/2022:05:02:40 +0000] "GET /apps/ HTTP/1.1" 404 455 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - - [26/Jan/2022:05:29:05 +0000] "GET /sage HTTP/1.1" 404 448 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
Update: I think these are what you are looking for?
Code:
Docker/sagetv/data/server/logs# cat jettystarter.log
2022-01-25 22:55:28,683 [SageTV] INFO  org.eclipse.jetty.util.log - Logging initialized @8093ms to org.eclipse.jetty.util.log.Slf4jLog
2022-01-25 22:55:28,684 [SageTV] INFO  org.eclipse.jetty.util.log - Jetty Log item: Key:log4j.additivity.org.eclipse.jetty Value:false
2022-01-25 22:55:28,684 [SageTV] INFO  org.eclipse.jetty.util.log - Jetty Log item: Key:log4j.additivity.sagex.jetty Value:false
2022-01-25 22:55:28,684 [SageTV] INFO  org.eclipse.jetty.util.log - Jetty Log item: Key:log4j.appender.JETTY Value:org.apache.log4j.FileAppender
2022-01-25 22:55:28,684 [SageTV] INFO  org.eclipse.jetty.util.log - Jetty Log item: Key:log4j.appender.JETTY.Append Value:false
2022-01-25 22:55:28,684 [SageTV] INFO  org.eclipse.jetty.util.log - Jetty Log item: Key:log4j.appender.JETTY.File Value:logs/jettystarter.log
2022-01-25 22:55:28,684 [SageTV] INFO  org.eclipse.jetty.util.log - Jetty Log item: Key:log4j.appender.JETTY.layout Value:org.apache.log4j.PatternLayout
2022-01-25 22:55:28,684 [SageTV] INFO  org.eclipse.jetty.util.log - Jetty Log item: Key:log4j.appender.JETTY.layout.ConversionPattern Value:%d [%t] %-5p %c - %m%n
2022-01-25 22:55:28,684 [SageTV] INFO  org.eclipse.jetty.util.log - Jetty Log item: Key:log4j.logger.org.eclipse.jetty Value:INFO, JETTY
2022-01-25 22:55:28,684 [SageTV] INFO  org.eclipse.jetty.util.log - Jetty Log item: Key:log4j.logger.sagex.jetty Value:INFO, JETTY
2022-01-25 22:55:28,684 [SageTV] INFO  org.eclipse.jetty.util.log - Jetty Starter plugin version 3.0.3.250
2022-01-25 22:55:28,684 [SageTV] INFO  org.eclipse.jetty.util.log - Jetty Starter log level set to: INFO
2022-01-25 22:55:28,684 [SageTV] INFO  org.eclipse.jetty.util.log - Entering JettyPlugin.<init>(sage.plugin.PluginEventManager@46574b77)
2022-01-25 22:55:28,689 [SageTV] INFO  org.eclipse.jetty.util.log - getAllContexts: started
2022-01-25 22:55:28,689 [SageTV] INFO  org.eclipse.jetty.util.log - getAllContexts: server not available yet
2022-01-25 22:55:29,685 [SageTV] INFO  org.eclipse.jetty.util.log - Entering JettyPlugin.start()
2022-01-25 22:55:29,685 [SageTV] INFO  org.eclipse.jetty.util.log - START: cleanRunnableClasses
2022-01-25 22:55:29,685 [SageTV] INFO  org.eclipse.jetty.util.log - START: createDefaultProperties
2022-01-25 22:55:29,685 [SageTV] INFO  org.eclipse.jetty.util.log - START: updateJettyConfigFilesPropertyForJetty9
2022-01-25 22:55:29,685 [SageTV] INFO  org.eclipse.jetty.util.log - updateJettyConfigFilesPropertyForJetty9 - starting
2022-01-25 22:55:29,685 [SageTV] INFO  org.eclipse.jetty.util.log - updateJettyConfigFilesPropertyForJetty9 - jettyHome:/opt/sagetv/server/jetty
2022-01-25 22:55:29,687 [SageTV] INFO  org.eclipse.jetty.util.log - updateJettyConfigFilesPropertyForJetty9 - extraconfigFiles:[Ljava.lang.String;@e2cb0df
2022-01-25 22:55:29,687 [SageTV] INFO  org.eclipse.jetty.util.log - updateJettyConfigFilesPropertyForJetty9 - No Extra Jetty configuration files are specified in Sage.properties
2022-01-25 22:55:29,687 [SageTV] INFO  org.eclipse.jetty.util.log - START: setPropProvider to SagePropertiesImpl.class
2022-01-25 22:55:29,687 [SageTV] INFO  org.eclipse.jetty.util.log - START: call instance start
2022-01-25 22:55:29,687 [SageTV] INFO  org.eclipse.jetty.util.log - JettyInstance: Starting Jetty
2022-01-25 22:55:29,688 [SageTV] INFO  org.eclipse.jetty.util.log - JettyInstance: Setting http port to: 8080
2022-01-25 22:55:29,688 [SageTV] INFO  org.eclipse.jetty.util.log - JettyInstance: Setting https port to: 8443
2022-01-25 22:55:29,688 [SageTV] INFO  org.eclipse.jetty.util.log - JettyInstance: Calling createServer
2022-01-25 22:55:29,688 [SageTV] INFO  org.eclipse.jetty.util.log - Create Server started: Port:8080 securePort:8443
2022-01-25 22:55:29,688 [SageTV] INFO  org.eclipse.jetty.util.log - Create Server: starting in secure mode
2022-01-25 22:55:29,688 [SageTV] INFO  org.eclipse.jetty.util.log - jetty.home:/opt/sagetv/server/jetty
2022-01-25 22:55:29,688 [SageTV] INFO  org.eclipse.jetty.util.log - jetty.base:/opt/sagetv/server/jetty
2022-01-25 22:55:29,701 [SageTV] INFO  org.eclipse.jetty.util.log - Setup Threadpool
2022-01-25 22:55:29,703 [SageTV] INFO  org.eclipse.jetty.util.log - Setup Scheduler
2022-01-25 22:55:29,716 [SageTV] INFO  org.eclipse.jetty.util.log - Setup HTTP
2022-01-25 22:55:29,720 [SageTV] INFO  org.eclipse.jetty.util.log - Setup SageTVRealm - BASIC
2022-01-25 22:55:29,722 [SageTV] INFO  org.eclipse.jetty.util.log - Setup SageTVRealm - BASIC done
2022-01-25 22:55:29,723 [SageTV] INFO  org.eclipse.jetty.util.log - Rewrite handler: setting default root context to:/apps
2022-01-25 22:55:29,724 [SageTV] INFO  org.eclipse.jetty.util.log - Setup Rewrite handler
2022-01-25 22:55:29,767 [SageTV] INFO  org.eclipse.jetty.util.log - Setup gzipHandler
2022-01-25 22:55:29,767 [SageTV] INFO  org.eclipse.jetty.util.log - Setup Handler
2022-01-25 22:55:29,795 [SageTV] INFO  org.eclipse.jetty.util.log - Setup jetty-jmx.xml
2022-01-25 22:55:29,810 [SageTV] INFO  org.eclipse.jetty.util.log - Setup jetty-http.xml
2022-01-25 22:55:29,826 [SageTV] INFO  org.eclipse.jetty.util.log - Setup jetty-deploy.xml
2022-01-25 22:55:29,837 [SageTV] INFO  org.eclipse.jetty.util.log - Setup jetty plus
2022-01-25 22:55:29,844 [SageTV] INFO  org.eclipse.jetty.util.log - Setup jetty-requestlog.xml
2022-01-25 22:55:29,845 [SageTV] INFO  org.eclipse.jetty.util.log - Setup DefaultSessionManager
2022-01-25 22:55:29,845 [SageTV] INFO  org.eclipse.jetty.util.log - HTTPS/SSL configuration is DISABLED in plugin configuration
2022-01-25 22:55:29,845 [SageTV] INFO  org.eclipse.jetty.util.log - Calling ListApps from createServer
2022-01-25 22:55:29,845 [SageTV] INFO  org.eclipse.jetty.util.log - JettyInstance: Start all Jetty LifeCycle objects (1)
2022-01-25 22:55:29,845 [SageTV] INFO  org.eclipse.jetty.util.log - JettyInstance: Start all Jetty LifeCycle objects - checking:Server@21a7e60d{STOPPED}[9.4.44.v20210927]
2022-01-25 22:55:29,845 [SageTV] INFO  org.eclipse.jetty.util.log - JettyInstance: Start all Jetty LifeCycle objects - found a LifeCycle object
2022-01-25 22:55:29,845 [SageTV] INFO  org.eclipse.jetty.util.log - JettyInstance: Start all Jetty LifeCycle objects - calling start on LC object
2022-01-25 22:55:29,849 [SageTV] INFO  org.eclipse.jetty.server.Server - jetty-9.4.44.v20210927; built: 2021-09-27T23:02:44.612Z; git: 8da83308eeca865e495e53ef315a249d63ba9332; jvm 11.0.2+9
2022-01-25 22:55:29,878 [SageTV] INFO  org.eclipse.jetty.deploy.providers.ScanningAppProvider - Deployment monitor [file:///opt/sagetv/server/jetty/webapps/] at interval 1
2022-01-25 22:55:30,145 [SageTV] INFO  org.eclipse.jetty.annotations.AnnotationConfiguration - Scanning elapsed time=157ms
2022-01-25 22:55:30,213 [SageTV] INFO  org.eclipse.jetty.server.session - DefaultSessionIdManager workerName=node0
2022-01-25 22:55:30,213 [SageTV] INFO  org.eclipse.jetty.server.session - No SessionScavenger set, using defaults
2022-01-25 22:55:30,213 [SageTV] INFO  org.eclipse.jetty.server.session - node0 Scavenging every 600000ms
2022-01-25 22:55:30,239 [SageTV] INFO  org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.w.WebAppContext@4cb4cbe4{apps,/apps,file:///opt/sagetv/server/jetty/webapps/apps/,AVAILABLE}{/opt/sagetv/server/jetty/webapps/apps.war}
2022-01-25 22:55:30,330 [SageTV] INFO  org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.w.WebAppContext@1618c199{Batch Metadata Tools - Web Interface,/bmt,file:///opt/sagetv/server/jetty/work/jetty-0_0_0_0-8080-bmt_war-_bmt-any-/webapp/,AVAILABLE}{/opt/sagetv/server/jetty/webapps/bmt.war}
2022-01-25 22:55:30,412 [SageTV] INFO  org.eclipse.jetty.annotations.AnnotationConfiguration - Scanning elapsed time=70ms
2022-01-25 22:55:30,470 [SageTV] INFO  org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.w.WebAppContext@4e2d355a{nielm_sagewebserver,/nielm_sagewebserver,file:///opt/sagetv/server/jetty/webapps/nielm_sagewebserver/,AVAILABLE}{/opt/sagetv/server/jetty/webapps/nielm_sagewebserver.war}
2022-01-25 22:55:30,564 [SageTV] INFO  org.eclipse.jetty.annotations.AnnotationConfiguration - Scanning elapsed time=69ms
2022-01-25 22:55:30,666 [SageTV] INFO  org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.w.WebAppContext@2aca497{SageTV Sagex Remote API Services (sagex-services),/sagex,file:///opt/sagetv/server/jetty/work/jetty-0_0_0_0-8080-sagex_war-_sagex-any-/webapp/,AVAILABLE}{/opt/sagetv/server/jetty/webapps/sagex.war}
2022-01-25 22:55:30,748 [SageTV] INFO  org.eclipse.jetty.annotations.AnnotationConfiguration - Scanning elapsed time=72ms
2022-01-25 22:55:30,773 [SageTV] INFO  org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.w.WebAppContext@12b9a2ad{SageTV Swagger based API Docs,/apidocs,file:///opt/sagetv/server/jetty/webapps/apidocs/,AVAILABLE}{/opt/sagetv/server/jetty/webapps/apidocs}
2022-01-25 22:55:30,777 [SageTV] INFO  org.eclipse.jetty.server.RequestLogWriter - Opened /opt/sagetv/server/jetty/logs/2022_01_26.request.log
2022-01-25 22:55:30,788 [SageTV] INFO  org.eclipse.jetty.server.AbstractConnector - Started ServerConnector@ea3fff5{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}
2022-01-25 22:55:30,840 [SageTV] INFO  org.eclipse.jetty.server.Server - Started @10254ms
2022-01-25 22:55:30,840 [SageTV] INFO  org.eclipse.jetty.util.log - JettyInstance: Start all Jetty LifeCycle objects - adding server to shutdown hook
2022-01-25 22:55:30,840 [SageTV] INFO  org.eclipse.jetty.util.log - JettyInstance: Listing apps after server start
2022-01-25 22:55:30,840 [SageTV] INFO  org.eclipse.jetty.util.log - JettyInstance: listApps - CONTEXT SESSION apps found:[org.eclipse.jetty.server.session.SessionHandler402157577==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler333173666==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler460170368==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler2067383860==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler295434804==dftMaxIdleSec=1800]
2022-01-25 22:55:30,840 [SageTV] INFO  org.eclipse.jetty.util.log - JettyInstance: listApps - CONTEXT SESSION Batch Metadata Tools - Web Interface found:[org.eclipse.jetty.server.session.SessionHandler402157577==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler333173666==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler460170368==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler2067383860==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler295434804==dftMaxIdleSec=1800]
2022-01-25 22:55:30,840 [SageTV] INFO  org.eclipse.jetty.util.log - JettyInstance: listApps - CONTEXT SESSION nielm_sagewebserver found:[org.eclipse.jetty.server.session.SessionHandler402157577==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler333173666==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler460170368==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler2067383860==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler295434804==dftMaxIdleSec=1800]
2022-01-25 22:55:30,840 [SageTV] INFO  org.eclipse.jetty.util.log - JettyInstance: listApps - CONTEXT SESSION SageTV Sagex Remote API Services (sagex-services) found:[org.eclipse.jetty.server.session.SessionHandler402157577==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler333173666==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler460170368==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler2067383860==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler295434804==dftMaxIdleSec=1800]
2022-01-25 22:55:30,840 [SageTV] INFO  org.eclipse.jetty.util.log - JettyInstance: listApps - CONTEXT SESSION SageTV Swagger based API Docs found:[org.eclipse.jetty.server.session.SessionHandler402157577==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler333173666==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler460170368==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler2067383860==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler295434804==dftMaxIdleSec=1800]
Code:
Docker/sagetv/data/server# ls -al JARs
total 27975
drwxrwxr-x  2 sagetv users      78 Jan 14 21:03 .
drwxr-x--- 19 sagetv users      92 Jan 26 20:49 ..
-rw-r-----  1 sagetv users 1933743 Dec 16  2017 ant.jar
-rw-r--r--  1 sagetv users 1050846 Jan 14 07:34 apache-jsp-8.5.70.jar
-rw-r--r--  1 sagetv users   21239 Jan 14 07:34 apache-jsp-9.4.44.jar
-rw-r--r--  1 sagetv users   12549 Jan 14 07:34 apache-jstl-9.4.44.jar
-rw-r-----  1 sagetv users   30877 Dec 16  2017 api-common-2.0.jar
-rw-r--r--  1 sagetv users  122004 Jan 14 07:34 asm-9.2.jar
-rw-r--r--  1 sagetv users   34257 Jan 14 07:34 asm-analysis-9.2.jar
-rw-r--r--  1 sagetv users   72642 Jan 14 07:34 asm-commons-9.2.jar
-rw-r--r--  1 sagetv users   52660 Jan 14 07:34 asm-tree-9.2.jar
-rw-r-----  1 sagetv users  263965 Dec 16  2017 commons-codec-1.9.jar
-rw-r-----  1 sagetv users   41376 Dec 16  2017 commons-dbutils-1.3.jar
-rw-r-----  1 sagetv users  208700 Dec 16  2017 commons-io-2.5.jar
-rwxrwxr-x  1 sagetv users  268794 May 25  2021 commons-jxpath-1.1.jar
-rw-r-----  1 sagetv users  261809 Dec 16  2017 commons-lang-2.4.jar
-rw-r-----  1 sagetv users  434678 Dec 16  2017 commons-lang3-3.4.jar
-rw-r-----  1 sagetv users   61829 Dec 16  2017 commons-logging-1.2.jar
-rw-r-----  1 sagetv users  180792 Dec 16  2017 commons-net-1.4.1.jar
-rw-r-----  1 sagetv users   18293 Dec 16  2017 df_sageutils.jar
-rw-r-----  1 sagetv users  313898 Dec 16  2017 dom4j-1.6.1.jar
-rw-r-----  1 sagetv users  255839 Aug 28 10:40 Gemstone.jar
-rw-r-----  1 sagetv users  114129 Aug 28 09:31 GoogleWeather.jar
-rw-r-----  1 sagetv users 6215448 Dec 16  2017 groovy-all-2.0.5.jar
-rw-r-----  1 sagetv users  231952 Aug 10  2019 gson-2.7.jar
-rw-r-----  1 sagetv users   33642 Jan 26  2018 gtools.jar
-rw-r-----  1 sagetv users   45024 Dec 16  2017 hamcrest-core-1.3.jar
-rw-r-----  1 sagetv users  288098 Dec 16  2017 htmlparser-1.6.jar
-rw-r-----  1 sagetv users  732765 Dec 16  2017 httpclient-4.5.1.jar
-rw-r-----  1 sagetv users  326594 Dec 16  2017 httpcore-4.4.3.jar
-rw-r-----  1 sagetv users   66894 Jan 21  2019 jackson-annotations-2.9.8.jar
-rw-r-----  1 sagetv users  325619 Jan 21  2019 jackson-core-2.9.8.jar
-rw-r-----  1 sagetv users 1347236 Jan 21  2019 jackson-databind-2.9.8.jar
-rw-r--r--  1 sagetv users   26586 Jan 14 07:34 javax.annotation-api-1.3.2.jar
-rwxrwxr-x  1 sagetv users  394099 May 25  2021 jcifs-1.1.6.jar
-rw-r--r--  1 sagetv users   86707 Jan 14 07:34 jetty-annotations-9.4.44.jar
-rw-r--r--  1 sagetv users   63091 Jan 14 07:34 jetty-deploy-9.4.44.jar
-rw-r--r--  1 sagetv users  224574 Jan 14 07:34 jetty-http-9.4.44.jar
-rw-r--r--  1 sagetv users  178897 Jan 14 07:34 jetty-io-9.4.44.jar
-rw-r--r--  1 sagetv users   47642 Jan 14 07:34 jetty-jaas-9.4.44.jar
-rw-r--r--  1 sagetv users   42353 Jan 14 07:34 jetty-jmx-9.4.44.jar
-rw-r--r--  1 sagetv users   46773 Jan 14 07:34 jetty-jndi-9.4.44.jar
-rw-r--r--  1 sagetv users   65608 Jan 14 07:34 jetty-plus-9.4.44.jar
-rw-r--r--  1 sagetv users   44678 Jan 14 07:34 jetty-rewrite-9.4.44.jar
-rw-r--r--  1 sagetv users  188164 Jan 14 07:34 jetty-schemas-3.1.jar
-rw-r--r--  1 sagetv users  118509 Jan 14 07:34 jetty-security-9.4.44.jar
-rw-r--r--  1 sagetv users  718742 Jan 14 07:34 jetty-server-9.4.44.jar
-rw-r--r--  1 sagetv users  145911 Jan 14 07:34 jetty-servlet-9.4.44.jar
-rw-r--r--  1 sagetv users  107499 Jan 14 07:34 jetty-servlets-9.4.44.jar
-rw-r--r--  1 sagetv users   56806 Jan 14 07:34 jetty-starter.jar
-rw-r--r--  1 sagetv users  581520 Jan 14 07:34 jetty-util-9.4.44.jar
-rw-r--r--  1 sagetv users  140293 Jan 14 07:34 jetty-webapp-9.4.44.jar
-rw-r--r--  1 sagetv users   68300 Jan 14 07:34 jetty-xml-9.4.44.jar
-rw-r-----  1 sagetv users   64952 Dec 16  2017 json-20140107.jar
-rw-r-----  1 sagetv users  395748 Oct 28  2018 jsoup.jar
-rw-r-----  1 sagetv users  314932 Dec 16  2017 junit-4.12.jar
-rw-r-----  1 sagetv users  489884 Dec 16  2017 log4j-1.2.17.jar
-rw-rw-r--  1 sagetv users 1535258 May 25  2021 lucene-core-3.6.0.jar
-rw-r-----  1 sagetv users   62924 Mar 12  2021 nielm_sageimdb.jar
-rw-r-----  1 sagetv users   15344 Dec 16  2017 nielm_sageutls.jar
-rw-r-----  1 sagetv users   55271 Dec 16  2017 nielm_sagexmlinfo.jar
-rw-r--r--  1 sagetv users  206430 Jan 14 07:34 org.apache.taglibs.taglibs-standard-impl-1.2.5.jar
-rw-r--r--  1 sagetv users   40153 Jan 14 07:34 org.apache.taglibs.taglibs-standard-spec-1.2.5.jar
-rw-r--r--  1 sagetv users 2884633 Jan 14 07:34 org.eclipse.jdt.ecj-3.19.0.jar
-rw-r--r--  1 sagetv users   21239 Jan 14 07:34 org.eclipse.jetty.apache-jsp-9.4.44.jar
-rw-r--r--  1 sagetv users  256317 Jan 14 07:34 org.mortbay.jasper.apache-el-8.5.70.jar
-rw-r--r--  1 sagetv users 1050846 Jan 14 07:34 org.mortbay.jasper.apache-jsp-8.5.70.jar
-rw-r-----  1 sagetv users 1267630 Sep 18 10:17 phoenix.jar
-rw-r--r--  1 sagetv users  515141 Dec 21 07:17 sagex-api.jar
-rwxrwxr-x  1 sagetv users   56121 May 25  2021 sbbi-upnplib-1.0.3.jar
-rw-r--r--  1 sagetv users   95806 Jan 14 07:34 servlet-api-3.1.jar
-rw-r-----  1 sagetv users   32127 Dec 16  2017 slf4j-api-1.7.12.jar
-rw-r-----  1 sagetv users    8860 Dec 16  2017 slf4j-log4j12-1.7.12.jar
-rw-r-----  1 sagetv users  214413 Dec 16  2017 themoviedbapi-4.1.jar
-rw-r-----  1 sagetv users   36522 Dec 16  2017 thetvdbapi-1.8.jar
-rw-r-----  1 sagetv users   63777 Dec 16  2017 validation-api-1.1.0.Final.jar
-rw-rw-r--  1 sagetv users  289881 May 25  2021 vecmath.jar
-rw-r--r--  1 sagetv users  665586 Dec 17 19:59 webui-4.0.0.jar
__________________
Server: Xeon E3-1225, 32GB RAM, Open Media Vault 5, SageTV Docker
Tuners: HD Homerun Quatro (OTA)
Clients: NVidia SheildTV x3

Last edited by texneus; 01-26-2022 at 09:22 PM.
Reply With Quote
  #116  
Old 01-26-2022, 10:27 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
Quote:
Originally Posted by texneus View Post
@Jusjoken, is this the log you are looking for in the other thread I started?

Short problem description - getting 404 errors for both /sage/Home and /apps. Looks like I'm not alone...

Code:
# cat 2022_01_26.request.log
192.168.173.11 - - [26/Jan/2022:04:14:35 +0000] "GET /sage/Home HTTP/1.1" 404 453 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - - [26/Jan/2022:04:14:35 +0000] "GET /favicon.ico HTTP/1.1" 200 1150 "http://192.168.173.210:8080/sage/Home" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - - [26/Jan/2022:04:17:03 +0000] "GET /sage/Home HTTP/1.1" 404 453 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - - [26/Jan/2022:04:17:08 +0000] "GET /sage HTTP/1.1" 404 448 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - - [26/Jan/2022:04:42:32 +0000] "GET /sage/Home HTTP/1.1" 404 453 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - - [26/Jan/2022:04:42:32 +0000] "GET /favicon.ico HTTP/1.1" 200 1150 "http://192.168.173.210:8080/sage/Home" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - - [26/Jan/2022:04:55:36 +0000] "GET /sage/Home HTTP/1.1" 404 453 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - - [26/Jan/2022:04:55:38 +0000] "GET /sage/Home HTTP/1.1" 404 453 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - - [26/Jan/2022:04:57:37 +0000] "GET /sage/Home HTTP/1.1" 404 453 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - - [26/Jan/2022:05:02:02 +0000] "GET /sage/Home HTTP/1.1" 404 453 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - - [26/Jan/2022:05:02:03 +0000] "GET /sage/Home HTTP/1.1" 404 453 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - - [26/Jan/2022:05:02:21 +0000] "GET / HTTP/1.1" 302 0 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - - [26/Jan/2022:05:02:21 +0000] "GET /apps HTTP/1.1" 302 0 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - - [26/Jan/2022:05:02:21 +0000] "GET /apps/ HTTP/1.1" 401 464 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - texneus [26/Jan/2022:05:02:34 +0000] "GET /apps/ HTTP/1.1" 404 455 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - texneus [26/Jan/2022:05:02:40 +0000] "GET /apps/ HTTP/1.1" 404 455 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
192.168.173.11 - - [26/Jan/2022:05:29:05 +0000] "GET /sage HTTP/1.1" 404 448 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0" "-"
Update: I think these are what you are looking for?
Code:
Docker/sagetv/data/server/logs# cat jettystarter.log
2022-01-25 22:55:28,683 [SageTV] INFO  org.eclipse.jetty.util.log - Logging initialized @8093ms to org.eclipse.jetty.util.log.Slf4jLog
2022-01-25 22:55:28,684 [SageTV] INFO  org.eclipse.jetty.util.log - Jetty Log item: Key:log4j.additivity.org.eclipse.jetty Value:false
2022-01-25 22:55:28,684 [SageTV] INFO  org.eclipse.jetty.util.log - Jetty Log item: Key:log4j.additivity.sagex.jetty Value:false
2022-01-25 22:55:28,684 [SageTV] INFO  org.eclipse.jetty.util.log - Jetty Log item: Key:log4j.appender.JETTY Value:org.apache.log4j.FileAppender
2022-01-25 22:55:28,684 [SageTV] INFO  org.eclipse.jetty.util.log - Jetty Log item: Key:log4j.appender.JETTY.Append Value:false
2022-01-25 22:55:28,684 [SageTV] INFO  org.eclipse.jetty.util.log - Jetty Log item: Key:log4j.appender.JETTY.File Value:logs/jettystarter.log
2022-01-25 22:55:28,684 [SageTV] INFO  org.eclipse.jetty.util.log - Jetty Log item: Key:log4j.appender.JETTY.layout Value:org.apache.log4j.PatternLayout
2022-01-25 22:55:28,684 [SageTV] INFO  org.eclipse.jetty.util.log - Jetty Log item: Key:log4j.appender.JETTY.layout.ConversionPattern Value:%d [%t] %-5p %c - %m%n
2022-01-25 22:55:28,684 [SageTV] INFO  org.eclipse.jetty.util.log - Jetty Log item: Key:log4j.logger.org.eclipse.jetty Value:INFO, JETTY
2022-01-25 22:55:28,684 [SageTV] INFO  org.eclipse.jetty.util.log - Jetty Log item: Key:log4j.logger.sagex.jetty Value:INFO, JETTY
2022-01-25 22:55:28,684 [SageTV] INFO  org.eclipse.jetty.util.log - Jetty Starter plugin version 3.0.3.250
2022-01-25 22:55:28,684 [SageTV] INFO  org.eclipse.jetty.util.log - Jetty Starter log level set to: INFO
2022-01-25 22:55:28,684 [SageTV] INFO  org.eclipse.jetty.util.log - Entering JettyPlugin.<init>(sage.plugin.PluginEventManager@46574b77)
2022-01-25 22:55:28,689 [SageTV] INFO  org.eclipse.jetty.util.log - getAllContexts: started
2022-01-25 22:55:28,689 [SageTV] INFO  org.eclipse.jetty.util.log - getAllContexts: server not available yet
2022-01-25 22:55:29,685 [SageTV] INFO  org.eclipse.jetty.util.log - Entering JettyPlugin.start()
2022-01-25 22:55:29,685 [SageTV] INFO  org.eclipse.jetty.util.log - START: cleanRunnableClasses
2022-01-25 22:55:29,685 [SageTV] INFO  org.eclipse.jetty.util.log - START: createDefaultProperties
2022-01-25 22:55:29,685 [SageTV] INFO  org.eclipse.jetty.util.log - START: updateJettyConfigFilesPropertyForJetty9
2022-01-25 22:55:29,685 [SageTV] INFO  org.eclipse.jetty.util.log - updateJettyConfigFilesPropertyForJetty9 - starting
2022-01-25 22:55:29,685 [SageTV] INFO  org.eclipse.jetty.util.log - updateJettyConfigFilesPropertyForJetty9 - jettyHome:/opt/sagetv/server/jetty
2022-01-25 22:55:29,687 [SageTV] INFO  org.eclipse.jetty.util.log - updateJettyConfigFilesPropertyForJetty9 - extraconfigFiles:[Ljava.lang.String;@e2cb0df
2022-01-25 22:55:29,687 [SageTV] INFO  org.eclipse.jetty.util.log - updateJettyConfigFilesPropertyForJetty9 - No Extra Jetty configuration files are specified in Sage.properties
2022-01-25 22:55:29,687 [SageTV] INFO  org.eclipse.jetty.util.log - START: setPropProvider to SagePropertiesImpl.class
2022-01-25 22:55:29,687 [SageTV] INFO  org.eclipse.jetty.util.log - START: call instance start
2022-01-25 22:55:29,687 [SageTV] INFO  org.eclipse.jetty.util.log - JettyInstance: Starting Jetty
2022-01-25 22:55:29,688 [SageTV] INFO  org.eclipse.jetty.util.log - JettyInstance: Setting http port to: 8080
2022-01-25 22:55:29,688 [SageTV] INFO  org.eclipse.jetty.util.log - JettyInstance: Setting https port to: 8443
2022-01-25 22:55:29,688 [SageTV] INFO  org.eclipse.jetty.util.log - JettyInstance: Calling createServer
2022-01-25 22:55:29,688 [SageTV] INFO  org.eclipse.jetty.util.log - Create Server started: Port:8080 securePort:8443
2022-01-25 22:55:29,688 [SageTV] INFO  org.eclipse.jetty.util.log - Create Server: starting in secure mode
2022-01-25 22:55:29,688 [SageTV] INFO  org.eclipse.jetty.util.log - jetty.home:/opt/sagetv/server/jetty
2022-01-25 22:55:29,688 [SageTV] INFO  org.eclipse.jetty.util.log - jetty.base:/opt/sagetv/server/jetty
2022-01-25 22:55:29,701 [SageTV] INFO  org.eclipse.jetty.util.log - Setup Threadpool
2022-01-25 22:55:29,703 [SageTV] INFO  org.eclipse.jetty.util.log - Setup Scheduler
2022-01-25 22:55:29,716 [SageTV] INFO  org.eclipse.jetty.util.log - Setup HTTP
2022-01-25 22:55:29,720 [SageTV] INFO  org.eclipse.jetty.util.log - Setup SageTVRealm - BASIC
2022-01-25 22:55:29,722 [SageTV] INFO  org.eclipse.jetty.util.log - Setup SageTVRealm - BASIC done
2022-01-25 22:55:29,723 [SageTV] INFO  org.eclipse.jetty.util.log - Rewrite handler: setting default root context to:/apps
2022-01-25 22:55:29,724 [SageTV] INFO  org.eclipse.jetty.util.log - Setup Rewrite handler
2022-01-25 22:55:29,767 [SageTV] INFO  org.eclipse.jetty.util.log - Setup gzipHandler
2022-01-25 22:55:29,767 [SageTV] INFO  org.eclipse.jetty.util.log - Setup Handler
2022-01-25 22:55:29,795 [SageTV] INFO  org.eclipse.jetty.util.log - Setup jetty-jmx.xml
2022-01-25 22:55:29,810 [SageTV] INFO  org.eclipse.jetty.util.log - Setup jetty-http.xml
2022-01-25 22:55:29,826 [SageTV] INFO  org.eclipse.jetty.util.log - Setup jetty-deploy.xml
2022-01-25 22:55:29,837 [SageTV] INFO  org.eclipse.jetty.util.log - Setup jetty plus
2022-01-25 22:55:29,844 [SageTV] INFO  org.eclipse.jetty.util.log - Setup jetty-requestlog.xml
2022-01-25 22:55:29,845 [SageTV] INFO  org.eclipse.jetty.util.log - Setup DefaultSessionManager
2022-01-25 22:55:29,845 [SageTV] INFO  org.eclipse.jetty.util.log - HTTPS/SSL configuration is DISABLED in plugin configuration
2022-01-25 22:55:29,845 [SageTV] INFO  org.eclipse.jetty.util.log - Calling ListApps from createServer
2022-01-25 22:55:29,845 [SageTV] INFO  org.eclipse.jetty.util.log - JettyInstance: Start all Jetty LifeCycle objects (1)
2022-01-25 22:55:29,845 [SageTV] INFO  org.eclipse.jetty.util.log - JettyInstance: Start all Jetty LifeCycle objects - checking:Server@21a7e60d{STOPPED}[9.4.44.v20210927]
2022-01-25 22:55:29,845 [SageTV] INFO  org.eclipse.jetty.util.log - JettyInstance: Start all Jetty LifeCycle objects - found a LifeCycle object
2022-01-25 22:55:29,845 [SageTV] INFO  org.eclipse.jetty.util.log - JettyInstance: Start all Jetty LifeCycle objects - calling start on LC object
2022-01-25 22:55:29,849 [SageTV] INFO  org.eclipse.jetty.server.Server - jetty-9.4.44.v20210927; built: 2021-09-27T23:02:44.612Z; git: 8da83308eeca865e495e53ef315a249d63ba9332; jvm 11.0.2+9
2022-01-25 22:55:29,878 [SageTV] INFO  org.eclipse.jetty.deploy.providers.ScanningAppProvider - Deployment monitor [file:///opt/sagetv/server/jetty/webapps/] at interval 1
2022-01-25 22:55:30,145 [SageTV] INFO  org.eclipse.jetty.annotations.AnnotationConfiguration - Scanning elapsed time=157ms
2022-01-25 22:55:30,213 [SageTV] INFO  org.eclipse.jetty.server.session - DefaultSessionIdManager workerName=node0
2022-01-25 22:55:30,213 [SageTV] INFO  org.eclipse.jetty.server.session - No SessionScavenger set, using defaults
2022-01-25 22:55:30,213 [SageTV] INFO  org.eclipse.jetty.server.session - node0 Scavenging every 600000ms
2022-01-25 22:55:30,239 [SageTV] INFO  org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.w.WebAppContext@4cb4cbe4{apps,/apps,file:///opt/sagetv/server/jetty/webapps/apps/,AVAILABLE}{/opt/sagetv/server/jetty/webapps/apps.war}
2022-01-25 22:55:30,330 [SageTV] INFO  org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.w.WebAppContext@1618c199{Batch Metadata Tools - Web Interface,/bmt,file:///opt/sagetv/server/jetty/work/jetty-0_0_0_0-8080-bmt_war-_bmt-any-/webapp/,AVAILABLE}{/opt/sagetv/server/jetty/webapps/bmt.war}
2022-01-25 22:55:30,412 [SageTV] INFO  org.eclipse.jetty.annotations.AnnotationConfiguration - Scanning elapsed time=70ms
2022-01-25 22:55:30,470 [SageTV] INFO  org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.w.WebAppContext@4e2d355a{nielm_sagewebserver,/nielm_sagewebserver,file:///opt/sagetv/server/jetty/webapps/nielm_sagewebserver/,AVAILABLE}{/opt/sagetv/server/jetty/webapps/nielm_sagewebserver.war}
2022-01-25 22:55:30,564 [SageTV] INFO  org.eclipse.jetty.annotations.AnnotationConfiguration - Scanning elapsed time=69ms
2022-01-25 22:55:30,666 [SageTV] INFO  org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.w.WebAppContext@2aca497{SageTV Sagex Remote API Services (sagex-services),/sagex,file:///opt/sagetv/server/jetty/work/jetty-0_0_0_0-8080-sagex_war-_sagex-any-/webapp/,AVAILABLE}{/opt/sagetv/server/jetty/webapps/sagex.war}
2022-01-25 22:55:30,748 [SageTV] INFO  org.eclipse.jetty.annotations.AnnotationConfiguration - Scanning elapsed time=72ms
2022-01-25 22:55:30,773 [SageTV] INFO  org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.w.WebAppContext@12b9a2ad{SageTV Swagger based API Docs,/apidocs,file:///opt/sagetv/server/jetty/webapps/apidocs/,AVAILABLE}{/opt/sagetv/server/jetty/webapps/apidocs}
2022-01-25 22:55:30,777 [SageTV] INFO  org.eclipse.jetty.server.RequestLogWriter - Opened /opt/sagetv/server/jetty/logs/2022_01_26.request.log
2022-01-25 22:55:30,788 [SageTV] INFO  org.eclipse.jetty.server.AbstractConnector - Started ServerConnector@ea3fff5{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}
2022-01-25 22:55:30,840 [SageTV] INFO  org.eclipse.jetty.server.Server - Started @10254ms
2022-01-25 22:55:30,840 [SageTV] INFO  org.eclipse.jetty.util.log - JettyInstance: Start all Jetty LifeCycle objects - adding server to shutdown hook
2022-01-25 22:55:30,840 [SageTV] INFO  org.eclipse.jetty.util.log - JettyInstance: Listing apps after server start
2022-01-25 22:55:30,840 [SageTV] INFO  org.eclipse.jetty.util.log - JettyInstance: listApps - CONTEXT SESSION apps found:[org.eclipse.jetty.server.session.SessionHandler402157577==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler333173666==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler460170368==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler2067383860==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler295434804==dftMaxIdleSec=1800]
2022-01-25 22:55:30,840 [SageTV] INFO  org.eclipse.jetty.util.log - JettyInstance: listApps - CONTEXT SESSION Batch Metadata Tools - Web Interface found:[org.eclipse.jetty.server.session.SessionHandler402157577==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler333173666==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler460170368==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler2067383860==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler295434804==dftMaxIdleSec=1800]
2022-01-25 22:55:30,840 [SageTV] INFO  org.eclipse.jetty.util.log - JettyInstance: listApps - CONTEXT SESSION nielm_sagewebserver found:[org.eclipse.jetty.server.session.SessionHandler402157577==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler333173666==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler460170368==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler2067383860==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler295434804==dftMaxIdleSec=1800]
2022-01-25 22:55:30,840 [SageTV] INFO  org.eclipse.jetty.util.log - JettyInstance: listApps - CONTEXT SESSION SageTV Sagex Remote API Services (sagex-services) found:[org.eclipse.jetty.server.session.SessionHandler402157577==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler333173666==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler460170368==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler2067383860==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler295434804==dftMaxIdleSec=1800]
2022-01-25 22:55:30,840 [SageTV] INFO  org.eclipse.jetty.util.log - JettyInstance: listApps - CONTEXT SESSION SageTV Swagger based API Docs found:[org.eclipse.jetty.server.session.SessionHandler402157577==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler333173666==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler460170368==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler2067383860==dftMaxIdleSec=1800, org.eclipse.jetty.server.session.SessionHandler295434804==dftMaxIdleSec=1800]
Code:
Docker/sagetv/data/server# ls -al JARs
total 27975
drwxrwxr-x  2 sagetv users      78 Jan 14 21:03 .
drwxr-x--- 19 sagetv users      92 Jan 26 20:49 ..
-rw-r-----  1 sagetv users 1933743 Dec 16  2017 ant.jar
-rw-r--r--  1 sagetv users 1050846 Jan 14 07:34 apache-jsp-8.5.70.jar
-rw-r--r--  1 sagetv users   21239 Jan 14 07:34 apache-jsp-9.4.44.jar
-rw-r--r--  1 sagetv users   12549 Jan 14 07:34 apache-jstl-9.4.44.jar
-rw-r-----  1 sagetv users   30877 Dec 16  2017 api-common-2.0.jar
-rw-r--r--  1 sagetv users  122004 Jan 14 07:34 asm-9.2.jar
-rw-r--r--  1 sagetv users   34257 Jan 14 07:34 asm-analysis-9.2.jar
-rw-r--r--  1 sagetv users   72642 Jan 14 07:34 asm-commons-9.2.jar
-rw-r--r--  1 sagetv users   52660 Jan 14 07:34 asm-tree-9.2.jar
-rw-r-----  1 sagetv users  263965 Dec 16  2017 commons-codec-1.9.jar
-rw-r-----  1 sagetv users   41376 Dec 16  2017 commons-dbutils-1.3.jar
-rw-r-----  1 sagetv users  208700 Dec 16  2017 commons-io-2.5.jar
-rwxrwxr-x  1 sagetv users  268794 May 25  2021 commons-jxpath-1.1.jar
-rw-r-----  1 sagetv users  261809 Dec 16  2017 commons-lang-2.4.jar
-rw-r-----  1 sagetv users  434678 Dec 16  2017 commons-lang3-3.4.jar
-rw-r-----  1 sagetv users   61829 Dec 16  2017 commons-logging-1.2.jar
-rw-r-----  1 sagetv users  180792 Dec 16  2017 commons-net-1.4.1.jar
-rw-r-----  1 sagetv users   18293 Dec 16  2017 df_sageutils.jar
-rw-r-----  1 sagetv users  313898 Dec 16  2017 dom4j-1.6.1.jar
-rw-r-----  1 sagetv users  255839 Aug 28 10:40 Gemstone.jar
-rw-r-----  1 sagetv users  114129 Aug 28 09:31 GoogleWeather.jar
-rw-r-----  1 sagetv users 6215448 Dec 16  2017 groovy-all-2.0.5.jar
-rw-r-----  1 sagetv users  231952 Aug 10  2019 gson-2.7.jar
-rw-r-----  1 sagetv users   33642 Jan 26  2018 gtools.jar
-rw-r-----  1 sagetv users   45024 Dec 16  2017 hamcrest-core-1.3.jar
-rw-r-----  1 sagetv users  288098 Dec 16  2017 htmlparser-1.6.jar
-rw-r-----  1 sagetv users  732765 Dec 16  2017 httpclient-4.5.1.jar
-rw-r-----  1 sagetv users  326594 Dec 16  2017 httpcore-4.4.3.jar
-rw-r-----  1 sagetv users   66894 Jan 21  2019 jackson-annotations-2.9.8.jar
-rw-r-----  1 sagetv users  325619 Jan 21  2019 jackson-core-2.9.8.jar
-rw-r-----  1 sagetv users 1347236 Jan 21  2019 jackson-databind-2.9.8.jar
-rw-r--r--  1 sagetv users   26586 Jan 14 07:34 javax.annotation-api-1.3.2.jar
-rwxrwxr-x  1 sagetv users  394099 May 25  2021 jcifs-1.1.6.jar
-rw-r--r--  1 sagetv users   86707 Jan 14 07:34 jetty-annotations-9.4.44.jar
-rw-r--r--  1 sagetv users   63091 Jan 14 07:34 jetty-deploy-9.4.44.jar
-rw-r--r--  1 sagetv users  224574 Jan 14 07:34 jetty-http-9.4.44.jar
-rw-r--r--  1 sagetv users  178897 Jan 14 07:34 jetty-io-9.4.44.jar
-rw-r--r--  1 sagetv users   47642 Jan 14 07:34 jetty-jaas-9.4.44.jar
-rw-r--r--  1 sagetv users   42353 Jan 14 07:34 jetty-jmx-9.4.44.jar
-rw-r--r--  1 sagetv users   46773 Jan 14 07:34 jetty-jndi-9.4.44.jar
-rw-r--r--  1 sagetv users   65608 Jan 14 07:34 jetty-plus-9.4.44.jar
-rw-r--r--  1 sagetv users   44678 Jan 14 07:34 jetty-rewrite-9.4.44.jar
-rw-r--r--  1 sagetv users  188164 Jan 14 07:34 jetty-schemas-3.1.jar
-rw-r--r--  1 sagetv users  118509 Jan 14 07:34 jetty-security-9.4.44.jar
-rw-r--r--  1 sagetv users  718742 Jan 14 07:34 jetty-server-9.4.44.jar
-rw-r--r--  1 sagetv users  145911 Jan 14 07:34 jetty-servlet-9.4.44.jar
-rw-r--r--  1 sagetv users  107499 Jan 14 07:34 jetty-servlets-9.4.44.jar
-rw-r--r--  1 sagetv users   56806 Jan 14 07:34 jetty-starter.jar
-rw-r--r--  1 sagetv users  581520 Jan 14 07:34 jetty-util-9.4.44.jar
-rw-r--r--  1 sagetv users  140293 Jan 14 07:34 jetty-webapp-9.4.44.jar
-rw-r--r--  1 sagetv users   68300 Jan 14 07:34 jetty-xml-9.4.44.jar
-rw-r-----  1 sagetv users   64952 Dec 16  2017 json-20140107.jar
-rw-r-----  1 sagetv users  395748 Oct 28  2018 jsoup.jar
-rw-r-----  1 sagetv users  314932 Dec 16  2017 junit-4.12.jar
-rw-r-----  1 sagetv users  489884 Dec 16  2017 log4j-1.2.17.jar
-rw-rw-r--  1 sagetv users 1535258 May 25  2021 lucene-core-3.6.0.jar
-rw-r-----  1 sagetv users   62924 Mar 12  2021 nielm_sageimdb.jar
-rw-r-----  1 sagetv users   15344 Dec 16  2017 nielm_sageutls.jar
-rw-r-----  1 sagetv users   55271 Dec 16  2017 nielm_sagexmlinfo.jar
-rw-r--r--  1 sagetv users  206430 Jan 14 07:34 org.apache.taglibs.taglibs-standard-impl-1.2.5.jar
-rw-r--r--  1 sagetv users   40153 Jan 14 07:34 org.apache.taglibs.taglibs-standard-spec-1.2.5.jar
-rw-r--r--  1 sagetv users 2884633 Jan 14 07:34 org.eclipse.jdt.ecj-3.19.0.jar
-rw-r--r--  1 sagetv users   21239 Jan 14 07:34 org.eclipse.jetty.apache-jsp-9.4.44.jar
-rw-r--r--  1 sagetv users  256317 Jan 14 07:34 org.mortbay.jasper.apache-el-8.5.70.jar
-rw-r--r--  1 sagetv users 1050846 Jan 14 07:34 org.mortbay.jasper.apache-jsp-8.5.70.jar
-rw-r-----  1 sagetv users 1267630 Sep 18 10:17 phoenix.jar
-rw-r--r--  1 sagetv users  515141 Dec 21 07:17 sagex-api.jar
-rwxrwxr-x  1 sagetv users   56121 May 25  2021 sbbi-upnplib-1.0.3.jar
-rw-r--r--  1 sagetv users   95806 Jan 14 07:34 servlet-api-3.1.jar
-rw-r-----  1 sagetv users   32127 Dec 16  2017 slf4j-api-1.7.12.jar
-rw-r-----  1 sagetv users    8860 Dec 16  2017 slf4j-log4j12-1.7.12.jar
-rw-r-----  1 sagetv users  214413 Dec 16  2017 themoviedbapi-4.1.jar
-rw-r-----  1 sagetv users   36522 Dec 16  2017 thetvdbapi-1.8.jar
-rw-r-----  1 sagetv users   63777 Dec 16  2017 validation-api-1.1.0.Final.jar
-rw-rw-r--  1 sagetv users  289881 May 25  2021 vecmath.jar
-rw-r--r--  1 sagetv users  665586 Dec 17 19:59 webui-4.0.0.jar
Take a look in the jetty/webapps folder. The only subfolder that should be there possibly is apidocs. Shutdown sage, remove other folders from webapps and the delete everything from jetty/work as this is the temp folder.

Then start sage and try again.

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #117  
Old 02-01-2022, 10:28 AM
davidk21770 davidk21770 is offline
Sage Expert
 
Join Date: Mar 2006
Location: Maryland
Posts: 514
I have read through this and tried several times to update Jetty. I finally got one of the apps to load (CMT), but the Web Interface still does not and neither does Apps.

Apps gives me a HTTP ERROR 500 javax.servlet.ServletException: ... lots of java trace ... (attached in the zip)

I was able to get to Batch Metadata Tools (CMT) via it's old URL.

The Web Interface is 404 not found it it's old URL and since I can't get to apps, I don't know it's new location.

What got me here was to disable jsp-2.1-jetty-6.1.19.jar and servlet-api-2.5-6.1.19.jar by renaming them. I have no idea if this has any side-effects!

The zip has the jettystarted.log (debug log level), the directory contents of webapps and JARs.

Let me know if I need to provide anything else!
And thank you!!!!

David

EDIT: found a post listing the Web Interface URL and am able to get to it directly at http://192.168.1.99:8080/nielm_sagewebserver/Home (I'm at 192.168.1.99 ;-)). But it is only partially loading (only the home page with no drop-downs at the top to get to the other pages.) So I'm making progress :-)).

Thank you again!
David
Attached Files
File Type: zip jetty.zip (266.6 KB, 36 views)
__________________
HDHomeRun x2
Cable Box via Hauppauge HD PVR and USB-UIRT
2 SageTV's HD300

Intel Core 2 Quad Q9650 @4025 MHz, 8G G.Skill Performance
DFI Lanparty DK X48-T2RS Plus; SilverStone Decathlon DA1000 (died - back to an ancient enermax)
eVGA 7900 GT KO RoHS -- Zalman VP900CU Cooling
Synology NAS 22TB

Last edited by davidk21770; 02-01-2022 at 10:40 AM. Reason: Fixed one of the issues -- only partially...
Reply With Quote
  #118  
Old 02-01-2022, 10:18 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
Quote:
Originally Posted by davidk21770 View Post
I have read through this and tried several times to update Jetty. I finally got one of the apps to load (CMT), but the Web Interface still does not and neither does Apps.

Apps gives me a HTTP ERROR 500 javax.servlet.ServletException: ... lots of java trace ... (attached in the zip)

I was able to get to Batch Metadata Tools (CMT) via it's old URL.

The Web Interface is 404 not found it it's old URL and since I can't get to apps, I don't know it's new location.

What got me here was to disable jsp-2.1-jetty-6.1.19.jar and servlet-api-2.5-6.1.19.jar by renaming them. I have no idea if this has any side-effects!

The zip has the jettystarted.log (debug log level), the directory contents of webapps and JARs.

Let me know if I need to provide anything else!
And thank you!!!!

David

EDIT: found a post listing the Web Interface URL and am able to get to it directly at http://192.168.1.99:8080/nielm_sagewebserver/Home (I'm at 192.168.1.99 ;-)). But it is only partially loading (only the home page with no drop-downs at the top to get to the other pages.) So I'm making progress :-)).

Thank you again!
David
I will review the zip in the morning but its obvious to me based on that URL that you have some folders other than apidocs in the jetty/webapps folder. Stop sage and deleted all those folders other than apidocs and do not delete any .war files. Also clear out the jetty/work folder as those are just Temps. Restart sage.

And those two jars can be deleted... They are for the old jetty version...but there could be others which I will review and report back

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #119  
Old 02-01-2022, 10:34 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
Quote:
Originally Posted by jusjoken View Post
I will review the zip in the morning but its obvious to me based on that URL that you have some folders other than apidocs in the jetty/webapps folder. Stop sage and deleted all those folders other than apidocs and do not delete any .war files. Also clear out the jetty/work folder as those are just Temps. Restart sage.

And those two jars can be deleted... They are for the old jetty version...but there could be others which I will review and report back

K
I took a quick look and your folders look clean except for jars.

All jars with 6.1.19 in the name are old jetty jars that can be deleted.

jetty-6.1.19.jar
jetty-ajp-6.1.19.jar
jetty-rewrite-handler-6.1.19.jar
jetty-sslengine-6.1.19.jar
jetty-util-6.1.19.jar
jsp-2.1-jetty-6.1.19.jar.disabled

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #120  
Old 02-02-2022, 06:51 AM
davidk21770 davidk21770 is offline
Sage Expert
 
Join Date: Mar 2006
Location: Maryland
Posts: 514
Quote:
Originally Posted by jusjoken View Post
I took a quick look and your folders look clean except for jars.

All jars with 6.1.19 in the name are old jetty jars that can be deleted.

jetty-6.1.19.jar
jetty-ajp-6.1.19.jar
jetty-rewrite-handler-6.1.19.jar
jetty-sslengine-6.1.19.jar
jetty-util-6.1.19.jar
jsp-2.1-jetty-6.1.19.jar.disabled

K
I tried that -- no joy.
My webapps subdir was as required (a dir listing is in the zip from before).
It turns out that the Sage Web Interface that was running was an earlier version. When I deleted the subdirs in work and it loaded the updated version (4.0) -- if fails to load. Maybe I'm going to the wrong place since apps/ is not working? [yes -- see Edit below]

I can provide an updated zip of subdir listings and fresh logs with the removed jars if it would help.

EDIT: I read the startup log in more detail and saw that the sage web interface's home page is sage -- it appears to be working :-).
The only thing not working is apps/

Thank you!
David
__________________
HDHomeRun x2
Cable Box via Hauppauge HD PVR and USB-UIRT
2 SageTV's HD300

Intel Core 2 Quad Q9650 @4025 MHz, 8G G.Skill Performance
DFI Lanparty DK X48-T2RS Plus; SilverStone Decathlon DA1000 (died - back to an ancient enermax)
eVGA 7900 GT KO RoHS -- Zalman VP900CU Cooling
Synology NAS 22TB

Last edited by davidk21770; 02-02-2022 at 08:16 AM.
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
Plugin: Jetty Web Server 2.0 jreichen SageTV v7 Customizations 389 06-19-2021 09:38 PM
Jetty Web Server (status update) stuckless SageTV Github Development 65 09-19-2016 08:34 AM
Another Jetty Web Server issue mlcarson SageTV v9 Customizations 2 09-19-2016 05:08 AM
Jetty Web Server Issue Ghildebr SageTV v9 Customizations 17 09-03-2016 09:52 AM


All times are GMT -6. The time now is 01:54 PM.


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