• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Exception on Tomcat console

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is caused by jForum checking for a newer version on startup and any time you go to the main admin console.

I think the way to disable this is to override the default setting for the jforum.version.url property in your jforum-custom.config file so that it points to an empty file that it can access locally.

Greg
[originally posted on jforum.net by monroe]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I recently installed JForum 2.1.6 on Windows XP with Tomcat 5.0.28 and J2SE 1.4.2. JForum has been hosted on a PC which is accessible only within LAN and access to internet is blocked by a firewall.

Everything seems to work fine so far, however, I see an exception on the Tomcat console if I try to access Admin Index. And then onwards, I keep getting the same trace after a fixed time interval.

Does anyone know the reason for this? and if there is a way to avoid this?


Thanks in advance,
Amit
[originally posted on jforum.net by amitk]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Greg,

Thanks for the pointer. jforum.version.url attribute exists in the SystemGlobals.properties file.

I put the latest_version.txt file in the same folder as index.htm and updated the property as below.

jforum.version.url=http://<server>:<port>/<ctx-root>/latest_version.txt

This worked like a charm. Thanks once again,

- Amit
[originally posted on jforum.net by amitk]
 
Whose rules are you playing by? This tiny ad doesn't respect those rules:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic