You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2011/12/02 20:25:02 UTC
DO NOT REPLY [Bug 52278] New: An invalid Lifecycle transition was
attempted ([before_start]) for component [StandardServer[18005]]
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: bimbra@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 52278] An invalid Lifecycle transition was
attempted ([before_start]) for component [StandardServer[18005]]
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52278
--- Comment #1 from Tosh <bi...@us.ibm.com> 2011-12-02 20:07:35 UTC ---
A slight update to the details I posted earlier.
The default port number is 8005.
The 'out of the box' failure to start the server is:-
Out of the box start failed with :-
Throwable occurred: org.apache.catalina.LifecycleException: An invalid
Lifecycle transition was attempted ([before_start]) for component
[StandardServer[8005]] in state [INITIALIZING]
--
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 52278] An invalid Lifecycle transition was
attempted ([before_start]) for component [StandardServer[18005]]
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52278
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--- Comment #2 from Mark Thomas <ma...@apache.org> 2011-12-12 23:03:59 UTC ---
Something isn't right with your system. The error message shows that the Server
object either failed to initialise or has not finished initialisation when
start() was called. If it failed, I'd expect to see an error message. If it
hasn't finished, start() should never be called since this should be
single-threaded at this point.
I don't think it is a threading issue because again, the start process is still
single threaded at the point you see the error message.
This works for me on a variety of platforms and JVMs (Oracle/Windows,
Oracle/Linux, OpenJDK/FreeBSD). I am suspicious that this is happening on an
IBM JVM but I find it hard to believe a JVM issue this fundamental exists in
that JVM.
Since this works for me (and a bunch of other people) the best way to
troubleshoot / investigate this is via the users mailing list. Bugzilla is not
suited to that kind of work. If the users list discussion concludes that there
is a bug then this issue can be re-opened once the necessary details (steps to
reproduce or a logical explanation of what the bug is if reproduction is hard)
have been added.
--
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org