jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Willeke <...@willeke.com>
Subject Re: JSPWiki will not Start
Date Sat, 19 Jul 2014 23:21:08 GMT
Latest attempts:

Installed latest Oracle Java. (Was using openJDK)

Cleared work directory.

/usr/share/tomcat/logs/catlina.out
INFO: A valid shutdown command was received via the shutdown port. Stopping
the Server instance.
Jul 19, 2014 11:13:54 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-8080"]
Jul 19, 2014 11:13:54 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["ajp-bio-8009"]
Jul 19, 2014 11:13:54 PM org.apache.catalina.core.StandardService
stopInternal
INFO: Stopping service Catalina
Jul 19, 2014 11:13:54 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/ldapwiki] appears to have started a thread
named [JSPWiki Lucene Indexer] but has failed to stop it. This is very
likely to create a memory leak.
Jul 19, 2014 11:13:54 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/ldapwiki] appears to have started a thread
named [WatchDog for 'JSPWiki'] but has failed to stop it. This is very
likely to create a memory leak.
Jul 19, 2014 11:13:54 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-8080"]
Jul 19, 2014 11:13:54 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["ajp-bio-8009"]
Jul 19, 2014 11:13:54 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-8080"]
Jul 19, 2014 11:13:54 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["ajp-bio-8009"]
Jul 19, 2014 11:14:31 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path:
/usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib
Jul 19, 2014 11:14:31 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Jul 19, 2014 11:14:31 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Jul 19, 2014 11:14:31 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 704 ms
Jul 19, 2014 11:14:31 PM org.apache.catalina.core.StandardService
startInternal
INFO: Starting service Catalina
Jul 19, 2014 11:14:31 PM org.apache.catalina.core.StandardEngine
startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.54
Jul 19, 2014 11:14:31 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive
/usr/share/tomcat7/apache-tomcat-7.0.54/webapps/ldapwiki.war
log4j:WARN No appenders could be found for logger
(org.apache.wiki.util.PropertyReader).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
more info.
Jul 19, 2014 11:14:35 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deployment of web application archive
/usr/share/tomcat7/apache-tomcat-7.0.54/webapps/ldapwiki.war has finished
in 3,624 ms
Jul 19, 2014 11:14:35 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
/usr/share/tomcat7/apache-tomcat-7.0.54/webapps/manager
Jul 19, 2014 11:14:35 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deployment of web application directory
/usr/share/tomcat7/apache-tomcat-7.0.54/webapps/manager has finished in 113
ms
Jul 19, 2014 11:14:35 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
/usr/share/tomcat7/apache-tomcat-7.0.54/webapps/examples
Jul 19, 2014 11:14:35 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deployment of web application directory
/usr/share/tomcat7/apache-tomcat-7.0.54/webapps/examples has finished in
314 ms
Jul 19, 2014 11:14:35 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
/usr/share/tomcat7/apache-tomcat-7.0.54/webapps/ROOT
Jul 19, 2014 11:14:36 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deployment of web application directory
/usr/share/tomcat7/apache-tomcat-7.0.54/webapps/ROOT has finished in 263 ms
Jul 19, 2014 11:14:36 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
/usr/share/tomcat7/apache-tomcat-7.0.54/webapps/host-manager
Jul 19, 2014 11:14:36 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deployment of web application directory
/usr/share/tomcat7/apache-tomcat-7.0.54/webapps/host-manager has finished
in 47 ms
Jul 19, 2014 11:14:36 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
/usr/share/tomcat7/apache-tomcat-7.0.54/webapps/docs
Jul 19, 2014 11:14:36 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deployment of web application directory
/usr/share/tomcat7/apache-tomcat-7.0.54/webapps/docs has finished in 39 ms
Jul 19, 2014 11:14:36 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Jul 19, 2014 11:14:36 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Jul 19, 2014 11:14:36 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 4495 ms

===============================================================================
/usr/share/tomcat/work/jspwiki.log (Why would it be here?)
2014-07-19 22:36:16,443 [localhost-startStop-1] INFO
org.apache.wiki.WikiEngine  - *******************************************
2014-07-19 22:36:16,444 [localhost-startStop-1] INFO
org.apache.wiki.WikiEngine  - JSPWiki 2.10.1 starting. Whee!
2014-07-19 22:36:16,446 [localhost-startStop-1] INFO
org.apache.wiki.WikiEngine  - Servlet container: Apache Tomcat/7.0.54
2014-07-19 22:36:16,468 [localhost-startStop-1] INFO
org.apache.wiki.WikiEngine  - JSPWiki working directory is
'/usr/share/tomcat/temp/JSPWiki-553444335'
2014-07-19 22:36:17,439 [localhost-startStop-1] INFO
org.apache.wiki.providers.AbstractFileProvider  - Wikipages are read from
'/root/jspwiki-files'
2014-07-19 22:36:17,444 [localhost-startStop-1] INFO
org.apache.wiki.plugin.DefaultPluginManager  - Registering plugins
2014-07-19 22:36:17,481 [localhost-startStop-1] INFO
org.apache.wiki.util.ClassUtil  - setting up classloaders for external
(plugin) jars
2014-07-19 22:36:17,482 [localhost-startStop-1] INFO
org.apache.wiki.util.ClassUtil  - no external jars configured, using
standard classloading
2014-07-19 22:36:17,509 [localhost-startStop-1] INFO
org.apache.wiki.diff.DifferenceManager  - Using difference provider:
TraditionalDiffProvider
2014-07-19 22:36:17,519 [localhost-startStop-1] INFO
org.apache.wiki.providers.CachingAttachmentProvider  - Initing
CachingAttachmentProvider
2014-07-19 22:36:17,561 [localhost-startStop-1] INFO
org.apache.wiki.search.LuceneSearchProvider  - Lucene enabled, cache will
be in: /usr/share/tomcat/temp/JSPWiki-553444335/lucene
2014-07-19 22:36:17,571 [JSPWiki Lucene Indexer] WARN
org.apache.wiki.WikiBackgroundThread  - Starting up background thread:
JSPWiki Lucene Indexer.
2014-07-19 22:36:17,585 [WatchDog for 'JSPWiki'] WARN
org.apache.wiki.WikiBackgroundThread  - Starting up background thread:
WatchDog for 'JSPWiki'.
2014-07-19 22:36:17,589 [JSPWiki Lucene Indexer] INFO
org.apache.wiki.search.LuceneSearchProvider  - Starting Lucene reindexing,
this can take a couple of minutes...
2014-07-19 22:36:17,606 [localhost-startStop-1] INFO
org.apache.wiki.ui.EditorManager  - Registering editor modules
2014-07-19 22:36:17,629 [localhost-startStop-1] INFO
org.apache.wiki.auth.authorize.WebContainerAuthorizer  - Examining
jndi:/localhost/ldapwiki/WEB-INF/web.xml
2014-07-19 22:36:17,706 [localhost-startStop-1] INFO
org.apache.wiki.auth.authorize.WebContainerAuthorizer  - JSPWiki is using
custom authentication.
2014-07-19 22:36:17,706 [localhost-startStop-1] INFO
org.apache.wiki.auth.authorize.WebContainerAuthorizer  - Authorizer
WebContainerAuthorizer initialized successfully.
2014-07-19 22:36:17,706 [localhost-startStop-1] INFO
org.apache.wiki.auth.AuthenticationManager  - looking for jspwiki.policy
inside WEB-INF
2014-07-19 22:36:17,706 [localhost-startStop-1] INFO
org.apache.wiki.auth.AuthorizationManager  - We found security policy URL:
file:/usr/share/tomcat/webapps/ldapwiki/WEB-INF/jspwiki.policy and
transformed it to file
/usr/share/tomcat/webapps/ldapwiki/WEB-INF/jspwiki.policy
2014-07-19 22:36:17,782 [localhost-startStop-1] INFO
org.apache.wiki.auth.AuthorizationManager  - Initialized default security
policy: /usr/share/tomcat/webapps/ldapwiki/WEB-INF/jspwiki.policy
2014-07-19 22:36:17,783 [localhost-startStop-1] INFO
org.apache.wiki.auth.authorize.GroupManager  - Attempting to load group
database class org.apache.wiki.auth.authorize.XMLGroupDatabase
2014-07-19 22:36:17,785 [localhost-startStop-1] WARN
org.apache.wiki.auth.authorize.XMLGroupDatabase  - XML group database
property jspwiki.xmlGroupDatabaseFile not found; trying
/usr/share/tomcat/webapps/ldapwiki/WEB-INF/groupdatabase.xml
2014-07-19 22:36:17,785 [localhost-startStop-1] INFO
org.apache.wiki.auth.authorize.XMLGroupDatabase  - XML group database at
/usr/share/tomcat/webapps/ldapwiki/WEB-INF/groupdatabase.xml
2014-07-19 22:36:17,894 [localhost-startStop-1] INFO
org.apache.wiki.auth.authorize.GroupManager  - Group database initialized.
2014-07-19 22:36:17,907 [localhost-startStop-1] INFO
org.apache.wiki.auth.authorize.GroupManager  - Authorizer GroupManager
initialized successfully; loaded 1 group(s).
2014-07-19 22:36:17,922 [localhost-startStop-1] INFO
org.apache.wiki.ui.admin.DefaultAdminBeanManager  - Using JDK 1.5 Platform
MBeanServer
2014-07-19 22:36:17,931 [localhost-startStop-1] INFO
org.apache.wiki.ui.admin.DefaultAdminBeanManager  -
com.sun.jmx.mbeanserver.JmxMBeanServer
2014-07-19 22:36:17,931 [localhost-startStop-1] INFO
org.apache.wiki.ui.admin.DefaultAdminBeanManager  - DefaultDomain
2014-07-19 22:36:17,936 [localhost-startStop-1] INFO
org.apache.wiki.ui.admin.DefaultAdminBeanManager  - Registered new admin
bean Core bean
2014-07-19 22:36:17,937 [localhost-startStop-1] INFO
org.apache.wiki.ui.admin.DefaultAdminBeanManager  - Registered new admin
bean User administration
2014-07-19 22:36:17,938 [localhost-startStop-1] INFO
org.apache.wiki.ui.admin.DefaultAdminBeanManager  - Registered new admin
bean Search manager
2014-07-19 22:36:17,953 [localhost-startStop-1] INFO
org.apache.wiki.ui.admin.DefaultAdminBeanManager  - Registered new admin
bean Plugins
2014-07-19 22:36:17,954 [localhost-startStop-1] INFO
org.apache.wiki.ui.admin.DefaultAdminBeanManager  - Registered new admin
bean Plain editor
2014-07-19 22:36:17,956 [localhost-startStop-1] INFO
org.apache.wiki.filters.DefaultFilterManager  - Registering filters
2014-07-19 22:36:17,958 [JSPWiki Lucene Indexer] INFO
org.apache.wiki.search.LuceneSearchProvider  - Full Lucene index finished
in 369 milliseconds.
2014-07-19 22:36:17,967 [localhost-startStop-1] INFO
org.apache.wiki.filters.DefaultFilterManager  - Cannot find property file
for filters (this is okay, expected to find it as: '/WEB-INF/filters.xml')
2014-07-19 22:36:17,968 [localhost-startStop-1] INFO
org.apache.wiki.render.RenderingManager  - Rendering content with
org.apache.wiki.render.XHTMLRenderer.
2014-07-19 22:36:17,977 [localhost-startStop-1] INFO
org.apache.wiki.ReferenceManager  - Starting cross reference scan of
WikiPages
2014-07-19 22:36:17,977 [localhost-startStop-1] INFO
org.apache.wiki.ReferenceManager  - Unable to unserialize old refmgr
information, rebuilding database:
/usr/share/tomcat/temp/JSPWiki-553444335/refmgr.ser (No such file or
directory)
2014-07-19 22:36:17,984 [localhost-startStop-1] INFO
org.apache.wiki.ReferenceManager  - Cross reference scan done in 0:00:00.007
2014-07-19 22:36:17,986 [localhost-startStop-1] INFO
org.apache.wiki.WikiEngine  - WikiEngine configured.
2014-07-19 22:36:17,986 [localhost-startStop-1] INFO
org.apache.wiki.WikiEngine  - Root path for this Wiki is:
'/usr/share/tomcat/webapps/ldapwiki/'
2014-07-19 22:36:17,987 [localhost-startStop-1] INFO
org.apache.wiki.util.UtilJ2eeCompat  - serverInfo: Apache Tomcat/7.0.54
2014-07-19 22:36:17,987 [localhost-startStop-1] INFO
org.apache.wiki.util.UtilJ2eeCompat  - Apache Tomcat detected
2014-07-19 22:36:17,993 [localhost-startStop-1] INFO
org.apache.wiki.WikiServlet  - WikiServlet initialized.
2014-07-19 22:43:22,823 [http-bio-8080-exec-7] INFO
org.apache.wiki.util.PropertyReader JSPWiki:/ldapwiki/ JSPWiki:
http://wrx.willeke.com:8080/ldapwiki/ - *No jspwiki.custom.config* defined
for this context, looking for custom properties file with default name of:
/jspwiki-custom.properties
2014-07-19 22:43:22,824 [http-bio-8080-exec-7] INFO
org.apache.wiki.util.PropertyReader JSPWiki:/ldapwiki/ JSPWiki:
http://wrx.willeke.com:8080/ldapwiki/ - No custom property file found,
relying on JSPWiki defaults.
2014-07-19 23:07:23,441 [localhost-startStop-2] INFO
org.apache.wiki.WikiServlet  - WikiServlet shutdown.
2014-07-19 23:07:23,447 [localhost-startStop-2] WARN
org.apache.wiki.WikiBackgroundThread  - Detected wiki engine shutdown:
killing JSPWiki Lucene Indexer.
2014-07-19 23:07:23,447 [localhost-startStop-2] WARN
org.apache.wiki.WikiBackgroundThread  - Detected wiki engine shutdown:
killing WatchDog for 'JSPWiki'.
2014-07-19 23:07:23,447 [localhost-startStop-2] INFO
org.apache.wiki.ui.admin.DefaultAdminBeanManager  - Unregistered AdminBean
Core bean
2014-07-19 23:07:23,447 [localhost-startStop-2] INFO
org.apache.wiki.ui.admin.DefaultAdminBeanManager  - Unregistered AdminBean
User administration
2014-07-19 23:07:23,447 [localhost-startStop-2] INFO
org.apache.wiki.ui.admin.DefaultAdminBeanManager  - Unregistered AdminBean
Search manager
2014-07-19 23:07:23,447 [localhost-startStop-2] INFO
org.apache.wiki.ui.admin.DefaultAdminBeanManager  - Unregistered AdminBean
Plugins
2014-07-19 23:07:23,447 [localhost-startStop-2] INFO
org.apache.wiki.ui.admin.DefaultAdminBeanManager  - Unregistered AdminBean
Plain editor
2014-07-19 23:07:23,894 [WatchDog for 'JSPWiki'] WARN
org.apache.wiki.WikiBackgroundThread  - Interrupted background thread:
WatchDog for 'JSPWiki'.
2014-07-19 23:07:24,272 [JSPWiki Lucene Indexer] WARN
org.apache.wiki.WikiBackgroundThread  - Interrupted background thread:
JSPWiki Lucene Indexer.


And when I (or you) go http://wrx.willeke.com:8080/ldapwiki/
The site is missing the stylesheets (I assume as all lines are shifted
left).

Clicking on "This page does not exist. Why don’t you go and create it?
<http://wrx.willeke.com:8080/JSPWiki/Edit.jsp?page=Main>"
The url then becomes:
http://wrx.willeke.com:8080/JSPWiki/Edit.jsp?page=Main

I have /usr/share/tomcat/webapps/ldapwiki/jspwiki-custom.properties
Apparently it does not like that.

Ideas?

Thanks


--
-jim
Jim Willeke


On Sat, Jul 19, 2014 at 6:23 PM, Jim Willeke <jim@willeke.com> wrote:

> What is "ldapwiki.war"? Is that a standard JSPWiki.war renamed?
> ->Yes. Latest version 2.10.1.
>
> If this is a fresh install of Tomcat and JSPWiki, why are there
> "persisted sessions" being found?
> -> Fresh install of both. May have been stopped and started a couple of
> times.
>
> -jim
>
> --
> -jim
> Jim Willeke
>
>
> On Sat, Jul 19, 2014 at 5:56 PM, Hassan Schroeder <hassan@webtuitive.com>
> wrote:
>
>> On 7/19/14, 12:49 PM, Jim Willeke wrote:
>>
>>> Latest version of tomcat7 v7.0.54.
>>>
>>> When I have tried to setup using a linux distro of tomcat, there is
>>> apparently an expectation that jspwiki should be able to write to some
>>> directories that the linux/Tomcat distro will not permit.
>>>
>>> With a download direct from Tomcat and write permissions applied to the
>>> user tomcat runs under for ALL tomcat directories, I still have POOR
>>> results.
>>>
>>
>> > INFO: Deploying web application archive
>> > /usr/share/tomcat7/apache-tomcat-7.0.54/webapps/ldapwiki.war
>>
>> What is "ldapwiki.war"? Is that a standard JSPWiki.war renamed?
>>
>>
>>  Jul 19, 2014 7:30:03 PM org.apache.catalina.session.StandardManager
>>> doLoad
>>> SEVERE: IOException while loading persisted sessions:
>>>
>>
>> If this is a fresh install of Tomcat and JSPWiki, why are there
>> "persisted sessions" being found?
>>
>> I feel like there's something missing here :-)
>>
>>
>> --
>> :about => about.me/hassanschroeder
>> :email  => hassan@webtuitive.com
>> :twitter => @hassan
>> :voice  => +1 408-621-3445
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message