need some help on setting up pwm on debian 8 and tomcat8 please

394 views
Skip to first unread message

Steven Mething

unread,
Mar 23, 2017, 6:07:50 PM3/23/17
to pwm-general
I have been following this,

https://github.com/pwm-project/pwm/wiki/Installation-on-Ubuntu-Server-16.04-LTS

I am probably doing something wrong under section7?

In the tomcat manager pwm will not start, I get a,

============
FAIL - Application at context path /pwm could not be started
FAIL - Encountered exception org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/pwm]]
============

Home directory is setup as follows,

============
root@debian8-2:/home/tomcat8# ls -l
total 8
drwxrwxr-x 2 tomcat8 tomcat8 4096 Mar 24 10:51 conf
drwxrwxr-x 2 tomcat8 tomcat8 4096 Mar 24 10:02 pwm-data
root@debian8-2:/home/tomcat8# pwd
/home/tomcat8
root@debian8-2:/home/tomcat8#
============

config'd as follows,
============
8><----
Explicit location of application path working directory or the literal value "unspecified". See the environment documentation at /public/reference/environment.jsp for more informat
ion.
</description>
<param-name>applicationPath</param-name>
<param-value>/home/tomcat8/pwm-data</param-value>
</context-param>
8><----
============



Steven Mething

unread,
Mar 23, 2017, 6:21:36 PM3/23/17
to pwm-general
config check,

==========
root@debian8-2:/home/tomcat8# /usr/share/tomcat8/bin/configtest.sh
Using CATALINA_BASE:   /usr/share/tomcat8
Using CATALINA_HOME:   /usr/share/tomcat8
Using CATALINA_TMPDIR: /usr/share/tomcat8/temp
Using JRE_HOME:        /usr
Using CLASSPATH:       /usr/share/tomcat8/bin/bootstrap.jar:/usr/share/tomcat8/bin/tomcat-juli.jar
Mar 24, 2017 11:20:25 AM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat8/common/classes], exists: [false], isDirectory: [false], canRead: [false]
Mar 24, 2017 11:20:25 AM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat8/common], exists: [false], isDirectory: [false], canRead: [false]
Mar 24, 2017 11:20:25 AM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat8/server/classes], exists: [false], isDirectory: [false], canRead: [false]
Mar 24, 2017 11:20:25 AM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat8/server], exists: [false], isDirectory: [false], canRead: [false]
Mar 24, 2017 11:20:25 AM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat8/shared/classes], exists: [false], isDirectory: [false], canRead: [false]
Mar 24, 2017 11:20:25 AM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat8/shared], exists: [false], isDirectory: [false], canRead: [false]
Mar 24, 2017 11:20:25 AM org.apache.catalina.startup.Catalina initDirs
SEVERE: Cannot find specified temporary folder at /usr/share/tomcat8/temp
Mar 24, 2017 11:20:25 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version: Apache Tomcat/8.0.14 (Debian)
Mar 24, 2017 11:20:25 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built:   Feb 18 2017 05:56:46
Mar 24, 2017 11:20:25 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server number:  8.0.14.0
Mar 24, 2017 11:20:25 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name:        Linux
Mar 24, 2017 11:20:25 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version:     3.16.0-4-amd64
Mar 24, 2017 11:20:25 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture:   amd64
Mar 24, 2017 11:20:25 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version:    1.7.0_121-b00
Mar 24, 2017 11:20:25 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Vendor:     Oracle Corporation
Mar 24, 2017 11:20:26 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-8080"]
Mar 24, 2017 11:20:26 AM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
Mar 24, 2017 11:20:26 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 780 ms
root@debian8-2:/home/tomcat8#
===========

Aemilianus Kehler

unread,
Apr 3, 2017, 11:38:33 AM4/3/17
to pwm-general
If you wait a little while longer (I'm hoping this week) I'll be creating a blog post on how to setup PWM properly. The guide provided by the team is weak, and the "best" blog post I found was missing in some key information.

Jason Rivard

unread,
Apr 4, 2017, 4:19:44 AM4/4/17
to pwm-general
Why not update the wiki?

Aemilianus Kehler

unread,
Apr 5, 2017, 11:46:04 AM4/5/17
to pwm-general
Cause I like to blog. If someone who runs this projects wants to use my blog post as a reference or copy it, given all credit to my original post that's fine.
Reply all
Reply to author
Forward
0 new messages