[midPoint] Deployment issues

Pavol Mederly mederly at evolveum.com
Thu Aug 25 16:53:27 CEST 2016


Brian,

have you checked the following what Gustav said?

*"is configured midpoint.home directory writable for the user, who run 
the tomcat?"*

Because I suppose this could be the problem.

Pavol Mederly
Software developer
evolveum.com

On 25.08.2016 16:41, Ly, Brian wrote:
>
> I am certain there is no typo.
>
> Here is an excerpt of the catalina.out
>
> Let me know if you need more
>
> INFO: Starting service Catalina
>
> Aug 25, 2016 9:12:15 AM org.apache.catalina.core.StandardEngine 
> startInternal
>
> INFO: Starting Servlet Engine: Apache Tomcat/8.0.32 (Ubuntu)
>
> Aug 25, 2016 9:12:15 AM org.apache.catalina.startup.HostConfig 
> deployDescriptor
>
> INFO: Deploying configuration descriptor 
> /etc/tomcat8/Catalina/localhost/host-manager.xml
>
> Aug 25, 2016 9:12:17 AM org.apache.jasper.servlet.TldScanner scanJars
>
> INFO: At least one JAR was scanned for TLDs yet contained no TLDs. 
> Enable debug logging for this logger for a complete list of JARs that 
> were scanned but no TLDs were found in them. Skipping unneeded JARs 
> during scanning can improve startup time and JSP compilation time.
>
> Aug 25, 2016 9:12:17 AM org.apache.catalina.startup.HostConfig 
> deployDescriptor
>
> INFO: Deployment of configuration descriptor 
> /etc/tomcat8/Catalina/localhost/host-manager.xml has finished in 1,725 ms
>
> Aug 25, 2016 9:12:17 AM org.apache.catalina.startup.HostConfig 
> deployDescriptor
>
> INFO: Deploying configuration descriptor 
> /etc/tomcat8/Catalina/localhost/manager.xml
>
> Aug 25, 2016 9:12:18 AM org.apache.jasper.servlet.TldScanner scanJars
>
> INFO: At least one JAR was scanned for TLDs yet contained no TLDs. 
> Enable debug logging for this logger for a complete list of JARs that 
> were scanned but no TLDs were found in them. Skipping unneeded JARs 
> during scanning can improve startup time and JSP compilation time.
>
> Aug 25, 2016 9:12:18 AM org.apache.catalina.startup.HostConfig 
> deployDescriptor
>
> INFO: Deployment of configuration descriptor 
> /etc/tomcat8/Catalina/localhost/manager.xml has finished in 791 ms
>
> Aug 25, 2016 9:12:18 AM org.apache.catalina.startup.HostConfig deployWAR
>
> INFO: Deploying web application archive 
> /var/lib/tomcat8/webapps/midpoint.war
>
> Aug 25, 2016 9:12:39 AM org.apache.jasper.servlet.TldScanner scanJars
>
> INFO: At least one JAR was scanned for TLDs yet contained no TLDs. 
> Enable debug logging for this logger for a complete list of JARs that 
> were scanned but no TLDs were found in them. Skipping unneeded JARs 
> during scanning can improve startup time and JSP compilation time.
>
> *******************************************************************************
>
> midpoint.home is not set ! Using default configuration, for more 
> information
>
> see http://wiki.evolveum.com/display/midPoint/
>
> *******************************************************************************
>
> Setting midpoint.home to '/usr/share/tomcat8/midpoint'.
>
> midpoint.home = /usr/share/tomcat8/midpoint/
>
> Loading midPoint configuration from file 
> /usr/share/tomcat8/midpoint/config.xml
>
> Unable to read configuration file 
> [/usr/share/tomcat8/midpoint/config.xml]: Cannot locate configuration 
> source /usr/share/tomcat8/midpoint/config.xml
>
> Aug 25, 2016 9:12:45 AM org.apache.catalina.core.StandardContext 
> startInternal
>
> SEVERE: One or more listeners failed to start. Full details will be 
> found in the appropriate container log file
>
> Aug 25, 2016 9:12:45 AM org.apache.catalina.core.StandardContext 
> startInternal
>
> SEVERE: Context [/midpoint] startup failed due to previous errors
>
> Aug 25, 2016 9:12:45 AM org.apache.catalina.startup.HostConfig deployWAR
>
> INFO: Deployment of web application archive 
> /var/lib/tomcat8/webapps/midpoint.war has finished in 26,999 ms
>
> Aug 25, 2016 9:12:45 AM org.apache.catalina.startup.HostConfig 
> deployDirectory
>
> INFO: Deploying web application directory /var/lib/tomcat8/webapps/ROOT
>
> Aug 25, 2016 9:12:45 AM org.apache.jasper.servlet.TldScanner scanJars
>
> INFO: At least one JAR was scanned for TLDs yet contained no TLDs. 
> Enable debug logging for this logger for a complete list of JARs that 
> were scanned but no TLDs were found in them. Skipping unneeded JARs 
> during scanning can improve startup time and JSP compilation time.
>
> Aug 25, 2016 9:12:45 AM org.apache.catalina.startup.HostConfig 
> deployDirectory
>
> INFO: Deployment of web application directory 
> /var/lib/tomcat8/webapps/ROOT has finished in 622 ms
>
> Aug 25, 2016 9:12:45 AM org.apache.coyote.AbstractProtocol start
>
> INFO: Starting ProtocolHandler ["http-nio-8080"]
>
> Aug 25, 2016 9:12:46 AM org.apache.catalina.startup.Catalina start
>
> INFO: Server startup in 30294 ms
>
> Aug 25, 2016 9:20:23 AM org.apache.jasper.servlet.TldScanner scanJars
>
> INFO: At least one JAR was scanned for TLDs yet contained no TLDs. 
> Enable debug logging for this logger for a complete list of JARs that 
> were scanned but no TLDs were found in them. Skipping unneeded JARs 
> during scanning can improve startup time and JSP compilation time.
>
> midpoint.home = /usr/share/tomcat8/midpoint/
>
> Loading midPoint configuration from file 
> /usr/share/tomcat8/midpoint/config.xml
>
> Unable to read configuration file 
> [/usr/share/tomcat8/midpoint/config.xml]: Cannot locate configuration 
> source /usr/share/tomcat8/midpoint/config.xml
>
> Aug 25, 2016 9:20:28 AM org.apache.catalina.core.StandardContext 
> startInternal
>
> SEVERE: One or more listeners failed to start. Full details will be 
> found in the appropriate container log file
>
> Aug 25, 2016 9:20:28 AM org.apache.catalina.core.StandardContext 
> startInternal
>
> SEVERE: Context [/midpoint] startup failed due to previous errors
>
> Aug 25, 2016 9:30:59 AM org.apache.jasper.servlet.TldScanner scanJars
>
> INFO: At least one JAR was scanned for TLDs yet contained no TLDs. 
> Enable debug logging for this logger for a complete list of JARs that 
> were scanned but no TLDs were found in them. Skipping unneeded JARs 
> during scanning can improve startup time and JSP compilation time.
>
> ring scanning can improve startup time and JSP compilation time.
>
> midpoint.home = /usr/share/tomcat8/midpoint/
>
> Loading midPoint configuration from file 
> /usr/share/tomcat8/midpoint/config.xml
>
> Unable to read configuration file 
> [/usr/share/tomcat8/midpoint/config.xml]: Cannot locate configuration 
> source /usr/share/tomcat8/midpoint/config.xml
>
> Aug 25, 2016 9:31:03 AM org.apache.catalina.core.StandardContext 
> startInternal
>
> SEVERE: One or more listeners failed to start. Full details will be 
> found in the appropriate container log file
>
> Aug 25, 2016 9:31:03 AM org.apache.catalina.core.StandardContext 
> startInternal
>
> SEVERE: Context [/midpoint] startup failed due to previous errors
>
> Aug 25, 2016 9:31:55 AM org.apache.jasper.servlet.TldScanner scanJars
>
> INFO: At least one JAR was scanned for TLDs yet contained no TLDs. 
> Enable debug logging for this logger for a complete list of JARs that 
> were scanned but no TLDs were found in them. Skipping unneeded JARs 
> during scanning can improve startup time and JSP compilation time.
>
> midpoint.home = /usr/share/tomcat8/midpoint/
>
> Loading midPoint configuration from file 
> /usr/share/tomcat8/midpoint/config.xml
>
> Unable to read configuration file 
> [/usr/share/tomcat8/midpoint/config.xml]: Cannot locate configuration 
> source /usr/share/tomcat8/midpoint/config.xml
>
> Aug 25, 2016 9:32:00 AM org.apache.catalina.core.StandardContext 
> startInternal
>
> SEVERE: One or more listeners failed to start. Full details will be 
> found in the appropriate container log file
>
> Aug 25, 2016 9:32:00 AM org.apache.catalina.core.StandardContext 
> startInternal
>
> SEVERE: Context [/midpoint] startup failed due to previous errors
>
> *From:*midPoint [mailto:midpoint-bounces at lists.evolveum.com] *On 
> Behalf Of *Ivan Noris
> *Sent:* Thursday, August 25, 2016 10:32 AM
> *To:* midPoint General Discussion
> *Subject:* Re: [midPoint] Deployment issues
>
> Hi Brian,
>
> we are deploying the midpoint.war also to webapps folder, so that 
> certainly works.
>
> When you changed server.xml, didn't you accidentally made some typo?
>
> Also can you paste more from catalina.out?
>
> Thanks,
>
> Ivan
>
> ------------------------------------------------------------------------
>
>     *From: *"Brian Ly" <Brian.Ly at uhn.ca <mailto:Brian.Ly at uhn.ca>>
>     *To: *"gustav.palos at evolveum.com
>     <mailto:gustav.palos at evolveum.com>" <gustav.palos at evolveum.com
>     <mailto:gustav.palos at evolveum.com>>, "midPoint General Discussion"
>     <midpoint at lists.evolveum.com <mailto:midpoint at lists.evolveum.com>>
>     *Sent: *Thursday, August 25, 2016 5:18:20 PM
>     *Subject: *Re: [midPoint] Deployment issues
>
>     Yes, I installed based on those instructions,
>
>     I installed JDK7 and tomcat8 on Ubuntu 16.04 using the apt-get
>     install method. Then I used wget to download midpoint to the
>     server and extracted it using tar. I then moved the war file into
>     the tomcat webapps folder and changed the server.xml to change the
>     size limitation. Tomcat creates a midpoint folder in the webapps
>     directory since I did not change the location of the MidPoint Home
>     Directory (midpoint.home) but it should be able to deploy in the
>     tomcat webapps directory right?
>
>     Brian
>
>     *From:*midPoint [mailto:midpoint-bounces at lists.evolveum.com] *On
>     Behalf Of *Pálos Gustáv
>     *Sent:* Thursday, August 25, 2016 12:26 AM
>     *To:* midPoint General Discussion
>     *Subject:* Re: [midPoint] Deployment issues
>
>     Hi Brian,
>
>     do you install midpoint & configure it over this manual?
>
>     https://wiki.evolveum.com/display/midPoint/Installation+Guide
>
>     is configured midpoint.home directory writable for the user, who
>     run the tomcat?
>
>     Gustav
>
>     2016-08-24 22:35 GMT+02:00 Ly, Brian <Brian.Ly at uhn.ca
>     <mailto:Brian.Ly at uhn.ca>>:
>
>     Hi
>
>     I am trying out midpoint and I cannot seem to deploy it using
>     tomcat. I am receiving a “FAIL - Application at context path
>     /midpoint could not be started” error message in tomcat when I try
>     to deploy midpoint.
>
>     Can you please assist me?
>
>     I am running Ubuntu server 16.04, tomcat 8, latest midpoint
>     release, latest java jdk
>
>
>     This e-mail may contain confidential and/or privileged information
>     for the sole use of the intended recipient.
>     Any review or distribution by anyone other than the person for
>     whom it was originally intended is strictly prohibited.
>     If you have received this e-mail in error, please contact the
>     sender and delete all copies.
>     Opinions, conclusions or other information contained in this
>     e-mail may not be that of the organization.
>
>
>     _______________________________________________
>     midPoint mailing list
>     midPoint at lists.evolveum.com <mailto:midPoint at lists.evolveum.com>
>     http://lists.evolveum.com/mailman/listinfo/midpoint
>
>
>
>     -- 
>
>     Gustáv Pálos
>
>     Identity Engineer
>
>     evolveum.com <http://evolveum.com/>
>
>
>     This e-mail may contain confidential and/or privileged information
>     for the sole use of the intended recipient.
>     Any review or distribution by anyone other than the person for
>     whom it was originally intended is strictly prohibited.
>     If you have received this e-mail in error, please contact the
>     sender and delete all copies.
>     Opinions, conclusions or other information contained in this
>     e-mail may not be that of the organization.
>
>
>     _______________________________________________
>     midPoint mailing list
>     midPoint at lists.evolveum.com <mailto:midPoint at lists.evolveum.com>
>     http://lists.evolveum.com/mailman/listinfo/midpoint
>
> -- 
>
> Ivan Noris
> Senior Identity Engineer
> evolveum.com
>
>
> This e-mail may contain confidential and/or privileged information for 
> the sole use of the intended recipient.
> Any review or distribution by anyone other than the person for whom it 
> was originally intended is strictly prohibited.
> If you have received this e-mail in error, please contact the sender 
> and delete all copies.
> Opinions, conclusions or other information contained in this e-mail 
> may not be that of the organization.
>
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20160825/a0c1c919/attachment.htm>


More information about the midPoint mailing list