Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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]
 
reply
    Bookmark Topic Watch Topic
  • New Topic