Can't Pass Configuring on Tomcat7, CentOS7

This topic has 2 replies, 2 voices, and was last updated 5 years, 5 months ago by Sarankon Hiranphonlakrit.

  • Author
    Posts
  • #16174

    I try to install OpenAM on CentOS7. Process stuck at configuring like this

    Checking license acceptance...License terms accepted.
    Checking configuration directory /usr/share/tomcat/openam....Success.
    Installing OpenAM configuration store...Success RSA/ECB/OAEPWithSHA1AndMGF1Padding.
    Extracting OpenDJ, please wait...Complete
    Running OpenDJ setupSetup command: --cli --adminConnectorPort 4444 --baseDN dc=openam,dc=forgerock,dc=org --rootUserDN cn=Directory Manager --ldapPort 50389 --skipPortCheck --rootUserPassword xxxxxxx --jmxPort 1689 --no-prompt --doNotStart --hostname idp.mfu.ac.th --noPropertiesFile 
    See /var/cache/tomcat/temp/opendj-setup-9206689218225268574.log for a detailedlog of this operation.
    
    Configuring Directory Server ..... 

    screen

    No have error or log or anything to tell me what are wrong ?

    #16185
     Peter Major
    Moderator

    Have you set the memory related JVM settings for the container? You are not running of the Permgen space, are you? You should check your catalina.out for more info.

    #16211

    I already set perm size
    INFO: Command line argument: -Xmx1024m
    INFO: Command line argument: -XX:MaxPermSize=256m

    No have error in catalina.out

    INFO: Destroying ProtocolHandler ["http-bio-8080"]
    OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
    Mar 08, 2017 5:14:51 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
    WARNING: Problem with directory [/usr/share/tomcat7/common/classes], exists: [false], isDirectory: [false], canRead: [false]
    Mar 08, 2017 5:14:51 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
    WARNING: Problem with directory [/usr/share/tomcat7/common], exists: [false], isDirectory: [false], canRead: [false]
    Mar 08, 2017 5:14:51 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
    WARNING: Problem with directory [/usr/share/tomcat7/server/classes], exists: [false], isDirectory: [false], canRead: [false]
    Mar 08, 2017 5:14:51 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
    WARNING: Problem with directory [/usr/share/tomcat7/server], exists: [false], isDirectory: [false], canRead: [false]
    Mar 08, 2017 5:14:51 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
    WARNING: Problem with directory [/usr/share/tomcat7/shared/classes], exists: [false], isDirectory: [false], canRead: [false]
    Mar 08, 2017 5:14:51 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
    WARNING: Problem with directory [/usr/share/tomcat7/shared], exists: [false], isDirectory: [false], canRead: [false]
    Mar 08, 2017 5:14:51 PM org.apache.catalina.startup.VersionLoggerListener log
    INFO: Server version:        Apache Tomcat/7.0.68 (Ubuntu)
    Mar 08, 2017 5:14:51 PM org.apache.catalina.startup.VersionLoggerListener log
    INFO: Server built:          Jun 27 2016 18:13:17 UTC
    Mar 08, 2017 5:14:51 PM org.apache.catalina.startup.VersionLoggerListener log
    INFO: Server number:         7.0.68.0
    Mar 08, 2017 5:14:51 PM org.apache.catalina.startup.VersionLoggerListener log
    INFO: OS Name:               Linux
    Mar 08, 2017 5:14:51 PM org.apache.catalina.startup.VersionLoggerListener log
    INFO: OS Version:            4.4.0-62-generic
    Mar 08, 2017 5:14:51 PM org.apache.catalina.startup.VersionLoggerListener log
    INFO: Architecture:          amd64
    Mar 08, 2017 5:14:51 PM org.apache.catalina.startup.VersionLoggerListener log
    INFO: Java Home:             /usr/lib/jvm/java-8-openjdk-amd64/jre
    Mar 08, 2017 5:14:51 PM org.apache.catalina.startup.VersionLoggerListener log
    INFO: JVM Version:           1.8.0_121-8u121-b13-0ubuntu1.16.04.2-b13
    Mar 08, 2017 5:14:51 PM org.apache.catalina.startup.VersionLoggerListener log
    INFO: JVM Vendor:            Oracle Corporation
    Mar 08, 2017 5:14:51 PM org.apache.catalina.startup.VersionLoggerListener log
    INFO: CATALINA_BASE:         /var/lib/tomcat7
    Mar 08, 2017 5:14:51 PM org.apache.catalina.startup.VersionLoggerListener log
    INFO: CATALINA_HOME:         /usr/share/tomcat7
    Mar 08, 2017 5:14:51 PM org.apache.catalina.startup.VersionLoggerListener log
    INFO: Command line argument: -Djava.util.logging.config.file=/var/lib/tomcat7/conf/logging.properties
    Mar 08, 2017 5:14:51 PM org.apache.catalina.startup.VersionLoggerListener log
    INFO: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
    Mar 08, 2017 5:14:51 PM org.apache.catalina.startup.VersionLoggerListener log
    INFO: Command line argument: -Djava.awt.headless=true
    Mar 08, 2017 5:14:51 PM org.apache.catalina.startup.VersionLoggerListener log
    INFO: Command line argument: -Xmx128m
    Mar 08, 2017 5:14:51 PM org.apache.catalina.startup.VersionLoggerListener log
    INFO: Command line argument: -XX:+UseConcMarkSweepGC
    Mar 08, 2017 5:14:51 PM org.apache.catalina.startup.VersionLoggerListener log
    INFO: Command line argument: -Xmx1024m
    Mar 08, 2017 5:14:51 PM org.apache.catalina.startup.VersionLoggerListener log
    INFO: Command line argument: -XX:MaxPermSize=256m
    Mar 08, 2017 5:14:51 PM org.apache.catalina.startup.VersionLoggerListener log
    INFO: Command line argument: -Djava.endorsed.dirs=/usr/share/tomcat7/endorsed
    Mar 08, 2017 5:14:51 PM org.apache.catalina.startup.VersionLoggerListener log
    INFO: Command line argument: -Dcatalina.base=/var/lib/tomcat7
    Mar 08, 2017 5:14:51 PM org.apache.catalina.startup.VersionLoggerListener log
    INFO: Command line argument: -Dcatalina.home=/usr/share/tomcat7
    Mar 08, 2017 5:14:51 PM org.apache.catalina.startup.VersionLoggerListener log
    INFO: Command line argument: -Djava.io.tmpdir=/tmp/tomcat7-tomcat7-tmp
    Mar 08, 2017 5:14:52 PM org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["http-bio-8080"]
    Mar 08, 2017 5:14:52 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 559 ms
    Mar 08, 2017 5:14:52 PM org.apache.catalina.core.StandardService startInternal
    INFO: Starting service Catalina
    Mar 08, 2017 5:14:52 PM org.apache.catalina.core.StandardEngine startInternal
    INFO: Starting Servlet Engine: Apache Tomcat/7.0.68 (Ubuntu)
    Mar 08, 2017 5:14:52 PM org.apache.catalina.startup.HostConfig deployDescriptor
    INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/host-manager.xml
    Mar 08, 2017 5:14:52 PM org.apache.catalina.startup.TldConfig execute
    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.
    Mar 08, 2017 5:14:52 PM org.apache.catalina.startup.HostConfig deployDescriptor
    INFO: Deployment of configuration descriptor /etc/tomcat7/Catalina/localhost/host-manager.xml has finished in 740 ms
    Mar 08, 2017 5:14:52 PM org.apache.catalina.startup.HostConfig deployDescriptor
    INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/examples.xml
    Mar 08, 2017 5:14:53 PM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
    Mar 08, 2017 5:14:53 PM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
    Mar 08, 2017 5:14:53 PM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
    Mar 08, 2017 5:14:53 PM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
    Mar 08, 2017 5:14:53 PM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
    Mar 08, 2017 5:14:53 PM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
    Mar 08, 2017 5:14:53 PM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
    Mar 08, 2017 5:14:53 PM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined
    Mar 08, 2017 5:14:53 PM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined
    Mar 08, 2017 5:14:53 PM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
    Mar 08, 2017 5:14:53 PM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
    Mar 08, 2017 5:14:53 PM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
    Mar 08, 2017 5:14:53 PM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
    Mar 08, 2017 5:14:53 PM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
    Mar 08, 2017 5:14:53 PM org.apache.catalina.startup.TaglibUriRule body
    INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
    Mar 08, 2017 5:14:53 PM org.apache.catalina.startup.TldConfig execute
    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.
    Mar 08, 2017 5:14:53 PM org.apache.catalina.startup.HostConfig deployDescriptor
    INFO: Deployment of configuration descriptor /etc/tomcat7/Catalina/localhost/examples.xml has finished in 607 ms
    Mar 08, 2017 5:14:53 PM org.apache.catalina.startup.HostConfig deployDescriptor
    INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/docs.xml
    Mar 08, 2017 5:14:53 PM org.apache.catalina.startup.TldConfig execute
    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.
    Mar 08, 2017 5:14:53 PM org.apache.catalina.startup.HostConfig deployDescriptor
    INFO: Deployment of configuration descriptor /etc/tomcat7/Catalina/localhost/docs.xml has finished in 269 ms
    Mar 08, 2017 5:14:53 PM org.apache.catalina.startup.HostConfig deployDescriptor
    INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/manager.xml
    Mar 08, 2017 5:14:53 PM org.apache.catalina.startup.TldConfig execute
    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.
    Mar 08, 2017 5:14:54 PM org.apache.catalina.startup.HostConfig deployDescriptor
    INFO: Deployment of configuration descriptor /etc/tomcat7/Catalina/localhost/manager.xml has finished in 264 ms
    Mar 08, 2017 5:14:54 PM org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive /var/lib/tomcat7/webapps/openam.war
    Mar 08, 2017 5:15:00 PM org.apache.catalina.startup.TldConfig execute
    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.
    Mar 08, 2017 5:15:02 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
    INFO: Initiating Jersey application, version 'Jersey: 1.1.1-ea 07/14/2009 07:18 PM'
    Mar 08, 2017 5:15:03 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
    INFO: Initiating Jersey application, version 'Jersey: 1.1.1-ea 07/14/2009 07:18 PM'
    Mar 08, 2017 5:15:03 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
    INFO: Initiating Jersey application, version 'Jersey: 1.1.1-ea 07/14/2009 07:18 PM'
    Mar 08, 2017 5:15:03 PM org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deployment of web application archive /var/lib/tomcat7/webapps/openam.war has finished in 9,457 ms
    Mar 08, 2017 5:15:03 PM org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory /var/lib/tomcat7/webapps/ROOT
    Mar 08, 2017 5:15:03 PM org.apache.catalina.core.StandardContext setPath
    WARNING: A context path must either be an empty string or start with a '/' and do not end with a '/'. The path [/] does not meet these criteria and has been changed to []
    Mar 08, 2017 5:15:03 PM org.apache.catalina.startup.TldConfig execute
    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.
    Mar 08, 2017 5:15:03 PM org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deployment of web application directory /var/lib/tomcat7/webapps/ROOT has finished in 232 ms
    Mar 08, 2017 5:15:03 PM org.apache.coyote.AbstractProtocol start
    INFO: Starting ProtocolHandler ["http-bio-8080"]
    Mar 08, 2017 5:15:03 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 11629 ms
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

©2022 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?