https://issues.apache.org/bugzilla/show_bug.cgi?id=52278

             Bug #: 52278
           Summary: An invalid Lifecycle transition was attempted
                    ([before_start]) for component [StandardServer[18005]]
           Product: Tomcat 7
           Version: 7.0.23
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: major
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: bim...@us.ibm.com
    Classification: Unclassified


Environment:
Using CATALINA_BASE:   /apacheTomcat7/apache-tomcat-7.0.23 
Using CATALINA_HOME:   /apacheTomcat7/apache-tomcat-7.0.23                   
Using CATALINA_TMPDIR: /apacheTomcat7/apache-tomcat-7.0.23/temp              
Using JRE_HOME:        /QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit/jre        
Using CLASSPATH:       /apacheTomcat7/apache-tomcat-7.0.23/bin/bootstrap.jar:
/apacheTomcat7/apache-tomcat-7.0.23/bin/tomcat-juli.jar                      
Server version: Apache Tomcat/7.0.23                                         
Server built:   Nov 20 2011 07:36:25                                         
Server number:  7.0.23.0                                                     
OS Name:        OS/400                                                       
OS Version:     V7R1M0                                                       
Architecture:   PowerPC                                                      
JVM Version:    jvmap3260sr9-20101130                                        
JVM Vendor:     IBM Corporation                                              

Out of the box start failed with :-
Throwable occurred: org.apache.catalina.LifecycleException: An invalid
Lifecycle transition was attempted ([before_start]) for component
[StandardServer[18005]] in state [INITIALIZING]

I then updated server.xml to prepend a 1 before the port numbers:-
<Server port="18005" shutdown="SHUTDOWN">
<Connector port="18080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="18443" />
<Connector port="18009" protocol="AJP/1.3" redirectPort="18443" />
Start is failing with:-
Dec 2, 2011 1:07:01 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:
/QSYS.LIB/SST.LIB:/QSYS.LIB:/QSYS.LIB/QSYS2.LIB:/QSYS.LIB/QUSRSYS.LIB:/QSYS.LIB/QHLPSYS.LIB:/QSYS.LIB/QSHELL.LIB:/QSYS.LIB/BIMBRA.LIB:/QSYS.LIB/QGPL.LIB:/QSYS.LIB/QTEMP.LIB:/QSYS.LIB/VLOGTOOL3.LIB:/QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit/jre/lib/ppc:/QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit/jre/lib/ppc/classic:/QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit/jre/lib/ppc/default
Dec 2, 2011 1:07:01 PM org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start: 
Throwable occurred: org.apache.catalina.LifecycleException: An invalid
Lifecycle transition was attempted ([before_start]) for component
[StandardServer[18005]] in state [INITIALIZING]
at
org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:408)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:144)
at org.apache.catalina.startup.Catalina.start(Catalina.java:624)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
Dec 2, 2011 1:07:01 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 2 ms

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to