Double startup?

Matt Warren <[email protected]> Mon, 27 Aug 2007 14:57:59 -0400
Newsgroups gmane.comp.java.jspwiki.user
Message-ID <C2F896F7.EE714%[email protected]>
Using:
JSPWiki 2.4.103
Tomcat 5.5.20
JDK 1.5.0_12

When I start tomcat, I get what appears to be two separate startups of
JSPWiki. Is this normal? It creates two work dirs, does two lucene indexes.

Any ideas?

I have 1 dir under webapps/ called wiki/

------------------------------------------
2007-08-27 13:51:38,778 [main] INFO com.ecyrd.jspwiki.WikiEngine  -
*******************************************
2007-08-27 13:51:38,781 [main] INFO com.ecyrd.jspwiki.WikiEngine  - JSPWiki
2.4.103 starting. Whee!
2007-08-27 13:51:38,849 [main] INFO com.ecyrd.jspwiki.WikiEngine  - JSPWiki
working directory is '/usr/local/tomcat/webapps/wiki/work'
2007-08-27 13:51:38,955 [main] INFO
com.ecyrd.jspwiki.providers.AbstractFileProvider  - Wikipages are read from
'/www/wiki_content'
2007-08-27 13:51:39,004 [main] INFO com.ecyrd.jspwiki.plugin.PluginManager
- Registering plugins
2007-08-27 13:51:39,618 [main] INFO com.ecyrd.jspwiki.diff.DifferenceManager
- Using difference provider: TraditionalDiffProvider
2007-08-27 13:51:39,676 [main] INFO com.ecyrd.jspwiki.WikiEngine  - Cannot
find property file for filters (this is okay, expected to find it as:
'/filters.xml')
2007-08-27 13:51:39,755 [main] INFO
com.ecyrd.jspwiki.render.RenderingManager  - Rendering content with
com.ecyrd.jspwiki.render.XHTMLRenderer.
2007-08-27 13:51:39,817 [main] INFO
com.ecyrd.jspwiki.search.LuceneSearchProvider  - Lucene enabled, cache will
be in: /usr/local/tomcat/webapps/wiki/work/lucene
2007-08-27 13:51:39,827 [JSPWiki Lucene Indexer] INFO
com.ecyrd.jspwiki.util.WikiBackgroundThread  - Starting up background
thread: JSPWiki Lucene Indexer.
2007-08-27 13:51:39,873 [WatchDog for 'HNWWiki'] INFO
com.ecyrd.jspwiki.util.WikiBackgroundThread  - Starting up background
thread: WatchDog for 'HNWWiki'.
2007-08-27 13:51:39,875 [JSPWiki Lucene Indexer] INFO
com.ecyrd.jspwiki.search.LuceneSearchProvider  - Files found in Lucene
directory, not reindexing.
2007-08-27 13:51:39,930 [main] INFO com.ecyrd.jspwiki.ui.EditorManager  -
Registering editor modules
2007-08-27 13:51:39,970 [main] INFO com.ecyrd.jspwiki.auth.PolicyLoader  -
Java security policy already set to: /usr/local/tomcat/conf/jspwiki.policy.
(Leaving it alone...)
2007-08-27 13:51:39,970 [main] INFO com.ecyrd.jspwiki.auth.PolicyLoader  -
Found 'jspwiki.jks' from '/usr/local/tomcat/conf'.  If you are having
permission issues after an upgrade, please make sure that this file matches
the one that came with your distribution archive.
2007-08-27 13:51:39,970 [main] INFO
com.ecyrd.jspwiki.auth.AuthenticationManager  - Checking JAAS
configuration...
2007-08-27 13:51:39,971 [main] INFO
com.ecyrd.jspwiki.auth.AuthenticationManager  - JAAS not configured.
Installing default configuration:
file:/usr/local/tomcat/webapps/wiki/WEB-INF/jspwiki.jaas. You can set the
java.security.auth.login.config system property to point to your
jspwiki.jaas file, or add the entries from jspwiki.jaas to your own JAAS
configuration file.
2007-08-27 13:51:39,982 [main] INFO
com.ecyrd.jspwiki.auth.AuthenticationManager  - Checking security policy
configuration...
2007-08-27 13:51:40,000 [main] INFO
com.ecyrd.jspwiki.auth.authorize.WebContainerAuthorizer  - Examining
jndi:/localhost/WEB-INF/web.xml
2007-08-27 13:51:40,058 [main] INFO
com.ecyrd.jspwiki.auth.authorize.WebContainerAuthorizer  - JSPWiki is using
custom authentication.
2007-08-27 13:51:40,058 [main] INFO
com.ecyrd.jspwiki.auth.authorize.WebContainerAuthorizer  - Authorizer
WebContainerAuthorizer initialized successfully.
2007-08-27 13:51:40,059 [main] INFO
com.ecyrd.jspwiki.auth.authorize.GroupManager  - Attempting to load group
database class com.ecyrd.jspwiki.auth.authorize.XMLGroupDatabase
2007-08-27 13:51:40,074 [main] ERROR
com.ecyrd.jspwiki.auth.authorize.XMLGroupDatabase  - XML group database
property jspwiki.xmlGroupDatabaseFile not found; trying
/usr/local/tomcat/webapps/wiki/WEB-INF/groupdatabase.xml
2007-08-27 13:51:40,074 [main] INFO
com.ecyrd.jspwiki.auth.authorize.XMLGroupDatabase  - XML group database at
/usr/local/tomcat/webapps/wiki/WEB-INF/groupdatabase.xml
2007-08-27 13:51:40,080 [main] INFO
com.ecyrd.jspwiki.auth.authorize.GroupManager  - Group database initialized.
2007-08-27 13:51:40,084 [main] INFO
com.ecyrd.jspwiki.auth.authorize.GroupManager  - Authorizer GroupManager
initialized successfully; loaded 0 group(s).
2007-08-27 13:51:40,285 [main] INFO com.ecyrd.jspwiki.ReferenceManager  -
Starting cross reference scan of WikiPages
2007-08-27 13:51:40,436 [main] INFO com.ecyrd.jspwiki.auth.UserManager  -
Attempting to load user database class
com.ecyrd.jspwiki.auth.user.XMLUserDatabase
2007-08-27 13:51:40,444 [main] ERROR
com.ecyrd.jspwiki.auth.user.AbstractUserDatabase  - XML user database
property jspwiki.xmlUserDatabaseFile not found; trying
/usr/local/tomcat/webapps/wiki/WEB-INF/userdatabase.xml
2007-08-27 13:51:40,445 [main] INFO
com.ecyrd.jspwiki.auth.user.AbstractUserDatabase  - XML user database at
/usr/local/tomcat/webapps/wiki/WEB-INF/userdatabase.xml
2007-08-27 13:51:40,449 [main] INFO com.ecyrd.jspwiki.auth.UserManager  -
UserDatabase initialized.
2007-08-27 13:51:42,325 [main] INFO com.ecyrd.jspwiki.ReferenceManager  -
Cross reference scan done in 0:00:02.040
2007-08-27 13:51:42,339 [main] INFO com.ecyrd.jspwiki.WikiEngine  -
WikiEngine configured.
2007-08-27 13:51:42,340 [main] INFO com.ecyrd.jspwiki.WikiEngine  - Root
path for this Wiki is: '/usr/local/tomcat/webapps/wiki/'
2007-08-27 13:51:42,355 [main] INFO com.ecyrd.jspwiki.WikiServlet  -
WikiServlet initialized.
2007-08-27 13:51:43,099 [main] INFO com.ecyrd.jspwiki.WikiEngine  -
*******************************************
2007-08-27 13:51:43,102 [main] INFO com.ecyrd.jspwiki.WikiEngine  - JSPWiki
2.4.103 starting. Whee!
2007-08-27 13:51:43,134 [main] INFO com.ecyrd.jspwiki.WikiEngine  - JSPWiki
working directory is '/usr/local/tomcat/webapps/wiki/work'
2007-08-27 13:51:43,193 [main] INFO
com.ecyrd.jspwiki.providers.AbstractFileProvider  - Wikipages are read from
'/www/wiki_content'
2007-08-27 13:51:43,220 [main] INFO com.ecyrd.jspwiki.plugin.PluginManager
- Registering plugins
2007-08-27 13:51:43,521 [main] INFO com.ecyrd.jspwiki.diff.DifferenceManager
- Using difference provider: TraditionalDiffProvider
2007-08-27 13:51:43,556 [main] INFO com.ecyrd.jspwiki.WikiEngine  - Cannot
find property file for filters (this is okay, expected to find it as:
'/filters.xml')
2007-08-27 13:51:43,596 [main] INFO
com.ecyrd.jspwiki.render.RenderingManager  - Rendering content with
com.ecyrd.jspwiki.render.XHTMLRenderer.
2007-08-27 13:51:43,653 [main] INFO
com.ecyrd.jspwiki.search.LuceneSearchProvider  - Lucene enabled, cache will
be in: /usr/local/tomcat/webapps/wiki/work/lucene
2007-08-27 13:51:43,661 [JSPWiki Lucene Indexer] INFO
com.ecyrd.jspwiki.util.WikiBackgroundThread  - Starting up background
thread: JSPWiki Lucene Indexer.
2007-08-27 13:51:43,688 [WatchDog for 'HNWWiki'] INFO
com.ecyrd.jspwiki.util.WikiBackgroundThread  - Starting up background
thread: WatchDog for 'HNWWiki'.
2007-08-27 13:51:43,690 [JSPWiki Lucene Indexer] INFO
com.ecyrd.jspwiki.search.LuceneSearchProvider  - Files found in Lucene
directory, not reindexing.
2007-08-27 13:51:43,720 [main] INFO com.ecyrd.jspwiki.ui.EditorManager  -
Registering editor modules
2007-08-27 13:51:43,760 [main] INFO com.ecyrd.jspwiki.auth.PolicyLoader  -
Java security policy already set to: /usr/local/tomcat/conf/jspwiki.policy.
(Leaving it alone...)
2007-08-27 13:51:43,761 [main] INFO com.ecyrd.jspwiki.auth.PolicyLoader  -
Found 'jspwiki.jks' from '/usr/local/tomcat/conf'.  If you are having
permission issues after an upgrade, please make sure that this file matches
the one that came with your distribution archive.
2007-08-27 13:51:43,761 [main] INFO
com.ecyrd.jspwiki.auth.AuthenticationManager  - Checking JAAS
configuration...
2007-08-27 13:51:43,761 [main] INFO
com.ecyrd.jspwiki.auth.AuthenticationManager  - JAAS already configured by
some other application (leaving it alone...)
2007-08-27 13:51:43,761 [main] INFO
com.ecyrd.jspwiki.auth.AuthenticationManager  - Checking security policy
configuration...
2007-08-27 13:51:43,775 [main] INFO
com.ecyrd.jspwiki.auth.authorize.WebContainerAuthorizer  - Examining
jndi:/localhost/wiki/WEB-INF/web.xml
2007-08-27 13:51:43,856 [main] INFO
com.ecyrd.jspwiki.auth.authorize.WebContainerAuthorizer  - JSPWiki is using
custom authentication.
2007-08-27 13:51:43,857 [main] INFO
com.ecyrd.jspwiki.auth.authorize.WebContainerAuthorizer  - Authorizer
WebContainerAuthorizer initialized successfully.
2007-08-27 13:51:43,857 [main] INFO
com.ecyrd.jspwiki.auth.authorize.GroupManager  - Attempting to load group
database class com.ecyrd.jspwiki.auth.authorize.XMLGroupDatabase
2007-08-27 13:51:43,869 [main] ERROR
com.ecyrd.jspwiki.auth.authorize.XMLGroupDatabase  - XML group database
property jspwiki.xmlGroupDatabaseFile not found; trying
/usr/local/tomcat/webapps/wiki/WEB-INF/groupdatabase.xml
2007-08-27 13:51:43,870 [main] INFO
com.ecyrd.jspwiki.auth.authorize.XMLGroupDatabase  - XML group database at
/usr/local/tomcat/webapps/wiki/WEB-INF/groupdatabase.xml
2007-08-27 13:51:43,877 [main] INFO
com.ecyrd.jspwiki.auth.authorize.GroupManager  - Group database initialized.
2007-08-27 13:51:43,883 [main] INFO
com.ecyrd.jspwiki.auth.authorize.GroupManager  - Authorizer GroupManager
initialized successfully; loaded 0 group(s).
2007-08-27 13:51:44,098 [main] INFO com.ecyrd.jspwiki.ReferenceManager  -
Starting cross reference scan of WikiPages
2007-08-27 13:51:44,287 [main] INFO com.ecyrd.jspwiki.auth.UserManager  -
Attempting to load user database class
com.ecyrd.jspwiki.auth.user.XMLUserDatabase
2007-08-27 13:51:44,298 [main] ERROR
com.ecyrd.jspwiki.auth.user.AbstractUserDatabase  - XML user database
property jspwiki.xmlUserDatabaseFile not found; trying
/usr/local/tomcat/webapps/wiki/WEB-INF/userdatabase.xml
2007-08-27 13:51:44,298 [main] INFO
com.ecyrd.jspwiki.auth.user.AbstractUserDatabase  - XML user database at
/usr/local/tomcat/webapps/wiki/WEB-INF/userdatabase.xml
2007-08-27 13:51:44,303 [main] INFO com.ecyrd.jspwiki.auth.UserManager  -
UserDatabase initialized.
2007-08-27 13:51:46,618 [main] INFO com.ecyrd.jspwiki.ReferenceManager  -
Cross reference scan done in 0:00:02.520
2007-08-27 13:51:46,632 [main] INFO com.ecyrd.jspwiki.WikiEngine  -
WikiEngine configured.
2007-08-27 13:51:46,632 [main] INFO com.ecyrd.jspwiki.WikiEngine  - Root
path for this Wiki is: '/usr/local/tomcat/webapps/wiki/'
2007-08-27 13:51:46,640 [main] INFO com.ecyrd.jspwiki.WikiServlet  -
WikiServlet initialized.